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.

13 lines
484 B

  1. #ifndef _MSC_VER
  2. #warning deprecated
  3. #endif
  4. /*
  5. Matrix3d m = Matrix3d::Zero();
  6. m.part<Eigen::UpperTriangular>().setOnes();
  7. cout << "Here is the matrix m:" << endl << m << endl;
  8. Matrix3d n = Matrix3d::Ones();
  9. n.part<Eigen::LowerTriangular>() *= 2;
  10. cout << "Here is the matrix n:" << endl << n << endl;
  11. cout << "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. */