blob: 19e24c90b02ac9e7999d7e2a3485fd7aac75fcfd [file] [log] [blame]
Benoit Jacob7b750182009-06-29 22:07:37 +02001Matrix3d m = Matrix3d::Random();
2cout << "Here is the matrix m:" << endl << m << endl;
3Matrix3d inv;
4if(m.computeInverseWithCheck(&inv)) {
5 cout << "It is invertible, and its inverse is:" << endl << inv << endl;
6}
7else {
8 cout << "It is not invertible." << endl;
9}