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