source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/RealSchur_compute.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 343 bytes
Line 
1MatrixXf A = MatrixXf::Random(4,4);
2RealSchur<MatrixXf> schur(4);
3schur.compute(A, /* computeU = */ false);
4cout << "The matrix T in the decomposition of A is:" << endl << schur.matrixT() << endl;
5schur.compute(A.inverse(), /* computeU = */ false);
6cout << "The matrix T in the decomposition of A^(-1) is:" << endl << schur.matrixT() << endl;
Note: See TracBrowser for help on using the repository browser.