blob: 4dcfaf0f2cc848678878b1e4697e9358540ef8bc [file] [log] [blame]
Jitse Niesen73d3a272010-04-12 18:14:32 +01001MatrixXf A = MatrixXf::Random(4,4);
2RealSchur<MatrixXf> schur(4);
3schur.compute(A);
4cout << "The matrix T in the decomposition of A is:" << endl << schur.matrixT() << endl;
5schur.compute(A.inverse());
6cout << "The matrix T in the decomposition of A^(-1) is:" << endl << schur.matrixT() << endl;