blob: eb402dfd5db00b34724f29842931638eab73667f [file] [log] [blame]
Benoit Jacob486fdb22008-05-29 03:12:30 +00001Matrix2d m = Matrix2d::random();
2cout << "Here is the matrix m:" << endl << m << endl;
3Matrix2d::InverseType m_inv = m.inverse();
4if(m_inv.exists())
5 cout << "m is invertible, and its inverse is:" << endl << m_inv << endl;
6else
7 cout << "m is not invertible." << endl;