Hauke Heibel | 494a886 | 2009-12-11 19:39:01 +0100 | [diff] [blame] | 1 | #ifndef _MSC_VER |
| 2 | #warning deprecated |
| 3 | #endif |
Gael Guennebaud | 7579360 | 2009-07-27 18:50:39 +0200 | [diff] [blame] | 4 | /* deprecated |
Gael Guennebaud | c10f069 | 2008-07-21 00:34:46 +0000 | [diff] [blame] | 5 | Matrix3i m = Matrix3i::Random(); |
Benoit Jacob | 486fdb2 | 2008-05-29 03:12:30 +0000 | [diff] [blame] | 6 | cout << "Here is the matrix m:" << endl << m << endl; |
| 7 | cout << "Here is the upper-triangular matrix extracted from m:" << endl |
Benoit Jacob | 9e00d94 | 2008-12-20 13:36:12 +0000 | [diff] [blame] | 8 | << m.part<Eigen::UpperTriangular>() << endl; |
Benoit Jacob | 486fdb2 | 2008-05-29 03:12:30 +0000 | [diff] [blame] | 9 | cout << "Here is the strictly-upper-triangular matrix extracted from m:" << endl |
Benoit Jacob | 9e00d94 | 2008-12-20 13:36:12 +0000 | [diff] [blame] | 10 | << m.part<Eigen::StrictlyUpperTriangular>() << endl; |
Benoit Jacob | 486fdb2 | 2008-05-29 03:12:30 +0000 | [diff] [blame] | 11 | cout << "Here is the unit-lower-triangular matrix extracted from m:" << endl |
Benoit Jacob | 9e00d94 | 2008-12-20 13:36:12 +0000 | [diff] [blame] | 12 | << m.part<Eigen::UnitLowerTriangular>() << endl; |
Gael Guennebaud | 7579360 | 2009-07-27 18:50:39 +0200 | [diff] [blame] | 13 | */ |