aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_applyOnTheLeft.cpp
blob: 6398c873ac55d9ae545735bb3f038151f8786ddf (plain)
1
2
3
4
5
6
7
Matrix3f A = Matrix3f::Random(3,3), B;
B << 0,1,0,  
     0,0,1,  
     1,0,0;
cout << "At start, A = " << endl << A << endl;
A.applyOnTheLeft(B); 
cout << "After applyOnTheLeft, A = " << endl << A << endl;