MatrixBase_computeInverseWithCheck.cpp
Go to the documentation of this file.
00001 Matrix3d m = Matrix3d::Random();
00002 cout << "Here is the matrix m:" << endl << m << endl;
00003 Matrix3d inverse;
00004 bool invertible;
00005 m.computeInverseWithCheck(inverse,invertible);
00006 if(invertible) {
00007   cout << "It is invertible, and its inverse is:" << endl << inverse << endl;
00008 }
00009 else {
00010   cout << "It is not invertible." << endl;
00011 }


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:31:56