gtsam
3rdparty
Eigen
doc
snippets
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;
A
Definition:
test_numpy_dtypes.cpp:298
Eigen::Triplet
A small structure to hold a non zero as a triplet (i,j,value).
Definition:
SparseUtil.h:162
schur
cout<< "Here is a random 6x6 matrix, A:"<< endl<< A<< endl<< endl;RealSchur< MatrixXd > schur(A)
U
@ U
Definition:
testDecisionTree.cpp:296
gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:04:51