mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Use an aligned IOFormat in the docs
This commit is contained in:
@@ -158,8 +158,11 @@ Eigen::LUDecomposition<MatrixXf> lu(A);
|
||||
cout << "The rank of A is" << lu.rank() << endl;
|
||||
if(lu.isInvertible()) {
|
||||
cout << "A is invertible, its inverse is:" << endl << lu.inverse() << endl;
|
||||
cout << "Here's a matrix whose columns form a basis of the kernel a.k.a. nullspace of A:"
|
||||
<< endl << lu.kernel() << endl;
|
||||
}
|
||||
else {
|
||||
cout << "Here's a matrix whose columns form a basis of the kernel a.k.a. nullspace of A:"
|
||||
<< endl << lu.kernel() << endl;
|
||||
}
|
||||
\endcode
|
||||
|
||||
\sa LU_Module, LU::solve(), class LU
|
||||
|
||||
Reference in New Issue
Block a user