source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/MatrixBase_isIdentity.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 235 bytes
Line 
1Matrix3d m = Matrix3d::Identity();
2m(0,2) = 1e-4;
3cout << "Here's the matrix m:" << endl << m << endl;
4cout << "m.isIdentity() returns: " << m.isIdentity() << endl;
5cout << "m.isIdentity(1e-3) returns: " << m.isIdentity(1e-3) << endl;
Note: See TracBrowser for help on using the repository browser.