blob: 81e66c4cd47524e593dafc924cb73ca761647209 [file] [log] [blame]
Gael Guennebaud75793602009-07-27 18:50:39 +02001#warning deprecated
2/*
Benoit Jacob9b06e072009-01-27 17:42:04 +00003Matrix3d m = Matrix3d::Zero();
Benoit Jacob9e00d942008-12-20 13:36:12 +00004m.part<Eigen::StrictlyUpperTriangular>().setOnes();
Benoit Jacob486fdb22008-05-29 03:12:30 +00005cout << "Here is the matrix m:" << endl << m << endl;
6cout << "And let us now compute m*m.adjoint() in a very optimized way" << endl
7 << "taking advantage of the symmetry." << endl;
8Matrix3d n;
9n.part<Eigen::SelfAdjoint>() = (m*m.adjoint()).lazy();
10cout << "The result is:" << endl << n << endl;
Gael Guennebaud75793602009-07-27 18:50:39 +020011*/