ADD: new track message, Entity class and Position class
This commit is contained in:
5
libs/eigen/doc/snippets/MatrixBase_colwise.cpp
Normal file
5
libs/eigen/doc/snippets/MatrixBase_colwise.cpp
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 column:" << endl << m.colwise().sum() << endl;
|
||||
cout << "Here is the maximum absolute value of each column:"
|
||||
<< endl << m.cwiseAbs().colwise().maxCoeff() << endl;
|
||||
Reference in New Issue
Block a user