ADD: new track message, Entity class and Position class
This commit is contained in:
4
libs/eigen/doc/snippets/MatrixBase_diagonal.cpp
Normal file
4
libs/eigen/doc/snippets/MatrixBase_diagonal.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
Matrix3i m = Matrix3i::Random();
|
||||
cout << "Here is the matrix m:" << endl << m << endl;
|
||||
cout << "Here are the coefficients on the main diagonal of m:" << endl
|
||||
<< m.diagonal() << endl;
|
||||
Reference in New Issue
Block a user