gtsam
3rdparty
Eigen
doc
snippets
HouseholderQR_householderQ.cpp
Go to the documentation of this file.
1
MatrixXf
A
(MatrixXf::Random(5,3)),
thinQ
(MatrixXf::Identity(5,3)),
Q
;
2
A
.setRandom();
3
HouseholderQR<MatrixXf>
qr
(
A
);
4
Q
=
qr
.householderQ();
5
thinQ
=
qr
.householderQ() *
thinQ
;
6
std::cout <<
"The complete unitary matrix Q is:\n"
<<
Q
<<
"\n\n"
;
7
std::cout <<
"The thin matrix Q is:\n"
<<
thinQ
<<
"\n\n"
;
A
Definition:
test_numpy_dtypes.cpp:298
Q
MatrixXf Q
Definition:
HouseholderQR_householderQ.cpp:1
A
MatrixXf A(MatrixXf::Random(5, 3))
Eigen::Quaternion
The quaternion class used to represent 3D orientations and rotations.
Definition:
ForwardDeclarations.h:293
qr
HouseholderQR< MatrixXf > qr(A)
thinQ
thinQ
Definition:
HouseholderQR_householderQ.cpp:5
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:40