source:
pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/MatrixBase_applyOnTheRight.cpp
Last change on this file was 136, checked in by , 8 years ago | |
---|---|
File size: 292 bytes |
Line | |
---|---|
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; |
Note:
See TracBrowser
for help on using the repository browser.