source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/MatrixBase_setIdentity.cpp

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

Doc

File size: 83 bytes
Line 
1Matrix4i m = Matrix4i::Zero();
2m.block<3,3>(1,0).setIdentity();
3cout << m << endl;
Note: See TracBrowser for help on using the repository browser.