mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-08 09:49:03 +08:00
fix typo found by markusfroeb (forum)
This commit is contained in:
parent
032880074e
commit
177500f37e
@ -155,7 +155,7 @@ Alternatively, you can construct a named LU decomposition, which allows you to r
|
||||
\code
|
||||
#include <Eigen/LU>
|
||||
MatrixXf A = MatrixXf::Random(20,20);
|
||||
Eigen::LUDecomposition<MatrixXf> lu(A);
|
||||
Eigen::LU<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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user