xref: /aosp_15_r20/external/eigen/doc/snippets/MatrixBase_applyOnTheLeft.cpp (revision bf2c37156dfe67e5dfebd6d394bad8b2ab5804d4)
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.applyOnTheLeft(B);
7 cout << "After applyOnTheLeft, A = " << endl << A << endl;
8