mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 17:41:52 +08:00
Move eigen to third party (#282)
* remove useless statement * Add eigen to third_party dir * remove reducdant lines
This commit is contained in:
7
third_party/eigen/doc/snippets/MatrixBase_applyOnTheRight.cpp
vendored
Normal file
7
third_party/eigen/doc/snippets/MatrixBase_applyOnTheRight.cpp
vendored
Normal file
@@ -0,0 +1,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 *= B;
|
||||
cout << "After A *= B, A = " << endl << A << endl;
|
||||
A.applyOnTheRight(B); // equivalent to A *= B
|
||||
cout << "After applyOnTheRight, A = " << endl << A << endl;
|
Reference in New Issue
Block a user