You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
216 B

  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;