Go to the source code of this file.
◆ main()
Definition at line 4 of file TutorialLinAlgSetThreshold.cpp.
10 std::cout <<
"By default, the rank of A is found to be " <<
lu.rank() << std::endl;
11 lu.setThreshold(1
e-5);
12 std::cout <<
"With threshold 1e-5, the rank of A is found to be " <<
lu.rank() << std::endl;
Array< double, 1, 3 > e(1./3., 0.5, 2.)
LU decomposition of a matrix with complete pivoting, and related features.
The matrix class, also used for vectors and row-vectors.
cout<< "Here is the matrix m:"<< endl<< m<< endl;Eigen::FullPivLU< Matrix5x3 > lu(m)