source:
pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/MatrixBase_diagonal.cpp@
138
Last change on this file since 138 was 136, checked in by , 8 years ago | |
---|---|
File size: 188 bytes |
Line | |
---|---|
1 | Matrix3i m = Matrix3i::Random(); |
2 | cout << "Here is the matrix m:" << endl << m << endl; |
3 | cout << "Here are the coefficients on the main diagonal of m:" << endl |
4 | << m.diagonal() << endl; |
Note:
See TracBrowser
for help on using the repository browser.