Go to the source code of this file.
◆ main()
Definition at line 4 of file TutorialLinAlgRankRevealing.cpp.
10 std::cout <<
"Here is the matrix A:\n" <<
A << std::endl;
12 std::cout <<
"The rank of A is " << lu_decomp.rank() << std::endl;
13 std::cout <<
"Here is a matrix whose columns form a basis of the null-space of A:\n"
14 << lu_decomp.kernel() << std::endl;
15 std::cout <<
"Here is a matrix whose columns form a basis of the column-space of A:\n"
16 << lu_decomp.image(
A) << std::endl;
LU decomposition of a matrix with complete pivoting, and related features.
The matrix class, also used for vectors and row-vectors.