Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
Eigen
doc
snippets
HessenbergDecomposition_matrixH.cpp
Go to the documentation of this file.
1
Matrix4f
A
= MatrixXf::Random(4,4);
2
cout <<
"Here is a random 4x4 matrix:"
<< endl <<
A
<< endl;
3
HessenbergDecomposition<MatrixXf>
hessOfA
(
A
);
4
MatrixXf
H
=
hessOfA
.matrixH();
5
cout <<
"The Hessenberg matrix H is:"
<< endl <<
H
<< endl;
6
MatrixXf
Q
=
hessOfA
.matrixQ();
7
cout <<
"The orthogonal matrix Q is:"
<< endl << Q << endl;
8
cout <<
"Q H Q^T is:"
<< endl << Q *
H
* Q.transpose() << endl;
Q
Quaternion Q
Definition:
testQuaternion.cpp:27
H
MatrixXf H
Definition:
HessenbergDecomposition_matrixH.cpp:4
A
Definition:
test_numpy_dtypes.cpp:254
hessOfA
cout<< "Here is a random 4x4 matrix:"<< endl<< A<< endl;HessenbergDecomposition< MatrixXf > hessOfA(A)
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:10