blob: f60712178a0d1cc0e27c321066b8ced9492d86ca [file] [log] [blame]
Brian Silverman72890c22015-09-19 14:37:37 -04001#ifndef _MSC_VER
2 #warning deprecated
3#endif
4/*
5Matrix3d m = Matrix3d::Zero();
6m.part<Eigen::UpperTriangular>().setOnes();
7cout << "Here is the matrix m:" << endl << m << endl;
8Matrix3d n = Matrix3d::Ones();
9n.part<Eigen::LowerTriangular>() *= 2;
10cout << "Here is the matrix n:" << endl << n << endl;
11cout << "And now here is m.inverse()*n, taking advantage of the fact that"
12 " m is upper-triangular:" << endl
13 << m.marked<Eigen::UpperTriangular>().solveTriangular(n);
14*/