mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* the Upper->UpperTriangular change
* finally get ei_add_test right
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Matrix3d m = Matrix3i::Zero();
|
||||
m.part<Eigen::StrictlyUpper>().setOnes();
|
||||
m.part<Eigen::StrictlyUpperTriangular>().setOnes();
|
||||
cout << "Here is the matrix m:" << endl << m << endl;
|
||||
cout << "And let us now compute m*m.adjoint() in a very optimized way" << endl
|
||||
<< "taking advantage of the symmetry." << endl;
|
||||
|
||||
Reference in New Issue
Block a user