fix typo found by markusfroeb (forum)

This commit is contained in:
Benoit Jacob 2009-02-21 14:30:49 +00:00
parent 032880074e
commit 177500f37e

View File

@ -155,7 +155,7 @@ Alternatively, you can construct a named LU decomposition, which allows you to r
\code \code
#include <Eigen/LU> #include <Eigen/LU>
MatrixXf A = MatrixXf::Random(20,20); 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; cout << "The rank of A is" << lu.rank() << endl;
if(lu.isInvertible()) { if(lu.isInvertible()) {
cout << "A is invertible, its inverse is:" << endl << lu.inverse() << endl; cout << "A is invertible, its inverse is:" << endl << lu.inverse() << endl;