source:
pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/MatrixBase_isIdentity.cpp
Last change on this file was 136, checked in by , 8 years ago | |
---|---|
File size: 235 bytes |
Line | |
---|---|
1 | Matrix3d m = Matrix3d::Identity(); |
2 | m(0,2) = 1e-4; |
3 | cout << "Here's the matrix m:" << endl << m << endl; |
4 | cout << "m.isIdentity() returns: " << m.isIdentity() << endl; |
5 | cout << "m.isIdentity(1e-3) returns: " << m.isIdentity(1e-3) << endl; |
Note:
See TracBrowser
for help on using the repository browser.