Files
FastDeploy/third_party/eigen/doc/snippets/MatrixBase_applyOnTheLeft.cpp
Jack Zhou 355382ad63 Move eigen to third party (#282)
* remove useless statement

* Add eigen to third_party dir

* remove reducdant lines
2022-09-26 19:24:02 +08:00

6 lines
199 B
C++

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;