mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-17 03:43:13 +08:00
Optimize matrix functions: m_fT is triangular and trmm is faster than gemm
This commit is contained in:
parent
04f315d692
commit
d5d99dd1f0
@ -209,7 +209,7 @@ void MatrixFunction<MatrixType,AtomicType,1>::compute(ResultType& result)
|
|||||||
permuteSchur();
|
permuteSchur();
|
||||||
computeBlockAtomic();
|
computeBlockAtomic();
|
||||||
computeOffDiagonal();
|
computeOffDiagonal();
|
||||||
result = m_U * m_fT * m_U.adjoint();
|
result = m_U * (m_fT.template triangularView<Upper>() * m_U.adjoint());
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \brief Store the Schur decomposition of #m_A in #m_T and #m_U */
|
/** \brief Store the Schur decomposition of #m_A in #m_T and #m_U */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user