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.
6 lines
241 B
6 lines
241 B
Matrix3d m = 10000 * Matrix3d::Identity();
|
|
m(0,2) = 1;
|
|
cout << "Here's the matrix m:" << endl << m << endl;
|
|
cout << "m.isDiagonal() returns: " << m.isDiagonal() << endl;
|
|
cout << "m.isDiagonal(1e-3) returns: " << m.isDiagonal(1e-3) << endl;
|
|
|