RealSchur_RealSchur_MatrixType.cpp
Go to the documentation of this file.
1 MatrixXd A = MatrixXd::Random(6,6);
2 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl;
3 
4 RealSchur<MatrixXd> schur(A);
5 cout << "The orthogonal matrix U is:" << endl << schur.matrixU() << endl;
6 cout << "The quasi-triangular matrix T is:" << endl << schur.matrixT() << endl << endl;
7 
8 MatrixXd U = schur.matrixU();
9 MatrixXd T = schur.matrixT();
10 cout << "U * T * U^T = " << endl << U * T * U.transpose() << endl;
cout<< "Here is a random 6x6 matrix, A:"<< endl<< A<< endl<< endl;RealSchur< MatrixXd > schur(A)


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:50