You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
541 B

  1. #ifndef _MSC_VER
  2. #warning deprecated
  3. #endif
  4. /* deprecated
  5. Matrix3i m = Matrix3i::Random();
  6. cout << "Here is the matrix m:" << endl << m << endl;
  7. cout << "Here is the upper-triangular matrix extracted from m:" << endl
  8. << m.part<Eigen::UpperTriangular>() << endl;
  9. cout << "Here is the strictly-upper-triangular matrix extracted from m:" << endl
  10. << m.part<Eigen::StrictlyUpperTriangular>() << endl;
  11. cout << "Here is the unit-lower-triangular matrix extracted from m:" << endl
  12. << m.part<Eigen::UnitLowerTriangular>() << endl;
  13. */