blob: 3a51701014f7b35ef87c808a6fb62a1312631e18 [file] [log] [blame]
Jitse Niesen13a1b0b2010-03-24 13:04:03 +00001MatrixXcf A = MatrixXcf::Random(4,4);
2ComplexSchur<MatrixXcf> 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;