2009-12-12 02:39:01 +08:00
|
|
|
#ifndef _MSC_VER
|
|
|
|
#warning deprecated
|
|
|
|
#endif
|
2009-07-28 00:50:39 +08:00
|
|
|
/* deprecated
|
2008-07-21 08:34:46 +08:00
|
|
|
Matrix3i m = Matrix3i::Random();
|
2008-05-29 11:12:30 +08:00
|
|
|
cout << "Here is the matrix m:" << endl << m << endl;
|
|
|
|
cout << "Here is the upper-triangular matrix extracted from m:" << endl
|
2008-12-20 21:36:12 +08:00
|
|
|
<< m.part<Eigen::UpperTriangular>() << endl;
|
2008-05-29 11:12:30 +08:00
|
|
|
cout << "Here is the strictly-upper-triangular matrix extracted from m:" << endl
|
2008-12-20 21:36:12 +08:00
|
|
|
<< m.part<Eigen::StrictlyUpperTriangular>() << endl;
|
2008-05-29 11:12:30 +08:00
|
|
|
cout << "Here is the unit-lower-triangular matrix extracted from m:" << endl
|
2008-12-20 21:36:12 +08:00
|
|
|
<< m.part<Eigen::UnitLowerTriangular>() << endl;
|
2009-07-28 00:50:39 +08:00
|
|
|
*/
|