Go to the documentation of this file.00001 MatrixXd A = MatrixXd::Random(6,6);
00002 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl;
00003
00004 RealSchur<MatrixXd> schur(A);
00005 cout << "The orthogonal matrix U is:" << endl << schur.matrixU() << endl;
00006 cout << "The quasi-triangular matrix T is:" << endl << schur.matrixT() << endl << endl;
00007
00008 MatrixXd U = schur.matrixU();
00009 MatrixXd T = schur.matrixT();
00010 cout << "U * T * U^T = " << endl << U * T * U.transpose() << endl;