• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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;
10