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:
4
third_party/eigen/doc/snippets/MatrixBase_array_const.cpp
vendored
Normal file
4
third_party/eigen/doc/snippets/MatrixBase_array_const.cpp
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
Vector3d v(-1, 2, -3);
|
||||
cout << "the absolute values:" << endl << v.array().abs() << endl;
|
||||
cout << "the absolute values plus one:" << endl << v.array().abs() + 1 << endl;
|
||||
cout << "sum of the squares: " << v.array().square().sum() << endl;
|
Reference in New Issue
Block a user