source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/RealSchur_compute.cpp

Last change on this file was 136, checked in by ldecherf, 8 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.