mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 01:29:35 +08:00

* renaming, e.g. LU ---> FullPivLU * split tests framework: more robust, e.g. dont generate empty tests if a number is skipped * make all remaining tests use that splitting, as needed. * Fix 4x4 inversion (see stable branch) * Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices. * CMakeLists: more robust regexp to parse the version number * misc fixes in unit tests
10 lines
362 B
C++
10 lines
362 B
C++
Matrix3d m;
|
|
m << 1,1,0,
|
|
1,3,2,
|
|
0,1,1;
|
|
cout << "Here is the matrix m:" << endl << m << endl;
|
|
cout << "Notice that the middle column is the sum of the two others, so the "
|
|
<< "columns are linearly dependent." << endl;
|
|
cout << "Here is a matrix whose columns have the same span but are linearly independent:"
|
|
<< endl << m.lu().image(m) << endl;
|