Eigen 3.4.90
doc
snippets
MatrixBase_applyOnTheRight.cpp
Go to the documentation of this file.
1
Matrix3f
A
= Matrix3f::Random(3,3),
B
;
2
B
<< 0,1,0,
3
0,0,1,
4
1,0,0;
5
cout <<
"At start, A = "
<< endl <<
A
<< endl;
6
A
*=
B
;
7
cout <<
"After A *= B, A = "
<< endl <<
A
<< endl;
8
A
.applyOnTheRight(
B
);
// equivalent to A *= B
9
cout <<
"After applyOnTheRight, A = "
<< endl <<
A
<< endl;
A
Matrix3f A
Definition:
MatrixBase_applyOnTheRight.cpp:1
B
Matrix3f B
Definition:
MatrixBase_applyOnTheRight.cpp:1
Eigen::Matrix3f
Matrix< float, 3, 3 > Matrix3f
3×3 matrix of type float.
Definition:
Matrix.h:501