aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_isOrtho_matrix.cpp
blob: a79df920202e2c1e962f5abd8e317bdb8637c5a5 (plain)
1
2
3
4
5
Matrix3d m = Matrix3d::identity();
m(0,2) = 1e-4;
cout << "Here's the matrix m:" << endl << m << endl;
cout << "m.isOrtho() returns: " << m.isOrtho() << endl;
cout << "m.isOrtho(1e-3) returns: " << m.isOrtho(1e-3) << endl;