source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/MatrixBase_applyOnTheRight.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 292 bytes
Line 
1Matrix3f A = Matrix3f::Random(3,3), B;
2B << 0,1,0,
3 0,0,1,
4 1,0,0;
5cout << "At start, A = " << endl << A << endl;
6A *= B;
7cout << "After A *= B, A = " << endl << A << endl;
8A.applyOnTheRight(B); // equivalent to A *= B
9cout << "After applyOnTheRight, A = " << endl << A << endl;
Note: See TracBrowser for help on using the repository browser.