13 cout <<
"Here is the matrix A:\n" << A << endl;
14 cout <<
"Here is the right hand side b:\n" << b << endl;
15 cout <<
"Computing LLT decomposition..." << endl;
17 cout <<
"The solution is:\n" << llt.
solve(b) << endl;
19 cout <<
"The matrix A is now:\n" << A << endl;
20 cout <<
"Computing LLT decomposition..." << endl;
22 cout <<
"The solution is now:\n" << llt.
solve(b) << endl;
const Solve< LLT< _MatrixType, _UpLo >, Rhs > solve(const MatrixBase< Rhs > &b) const
Namespace containing all symbols from the Eigen library.
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
EIGEN_DONT_INLINE void llt(const Mat &A, const Mat &B, Mat &C)
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
LLT & compute(const EigenBase< InputType > &matrix)