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;
Namespace containing all symbols from the Eigen library.
const Solve< LLT, Rhs > solve(const MatrixBase< Rhs > &b) const
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
LLT & compute(const EigenBase< InputType > &matrix)