mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
many small fixes and documentation improvements,
this should be alpha5.
This commit is contained in:
5
doc/snippets/MatrixBase_quickInverse.cpp
Normal file
5
doc/snippets/MatrixBase_quickInverse.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
Matrix4d m = Matrix4d::zero();
|
||||
m.part<Eigen::Upper>().setOnes();
|
||||
cout << "Here is the matrix m:" << endl << m << endl;
|
||||
cout << "We know for sure that it is invertible." << endl;
|
||||
cout << "Here is its inverse:" << m.quickInverse() << endl;
|
||||
Reference in New Issue
Block a user