2008-07-21 08:34:46 +08:00
|
|
|
Matrix3d m = Matrix3d::Ones();
|
2008-01-07 00:35:21 +08:00
|
|
|
m(0,2) += 1e-4;
|
|
|
|
cout << "Here's the matrix m:" << endl << m << endl;
|
|
|
|
cout << "m.isOnes() returns: " << m.isOnes() << endl;
|
|
|
|
cout << "m.isOnes(1e-3) returns: " << m.isOnes(1e-3) << endl;
|