mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +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:
6
third_party/eigen/doc/snippets/tut_arithmetic_transpose_aliasing.cpp
vendored
Normal file
6
third_party/eigen/doc/snippets/tut_arithmetic_transpose_aliasing.cpp
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Matrix2i a;
|
||||
a << 1, 2, 3, 4;
|
||||
cout << "Here is the matrix a:\n" << a << endl;
|
||||
|
||||
a = a.transpose(); // !!! do NOT do this !!!
|
||||
cout << "and the result of the aliasing effect:\n" << a << endl;
|
Reference in New Issue
Block a user