MatrixBase_cwiseInverse.cpp 87 B

1234
  1. MatrixXd m(2,3);
  2. m << 2, 0.5, 1,
  3. 3, 0.25, 1;
  4. cout << m.cwiseInverse() << endl;