mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 09:31:35 +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:
5
third_party/eigen/doc/snippets/MatrixBase_rowwise.cpp
vendored
Normal file
5
third_party/eigen/doc/snippets/MatrixBase_rowwise.cpp
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Matrix3d m = Matrix3d::Random();
|
||||
cout << "Here is the matrix m:" << endl << m << endl;
|
||||
cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl;
|
||||
cout << "Here is the maximum absolute value of each row:" << endl
|
||||
<< m.cwiseAbs().rowwise().maxCoeff() << endl;
|
Reference in New Issue
Block a user