MatrixBase_cwiseInverse.cpp (87B)
1 MatrixXd m(2,3); 2 m << 2, 0.5, 1, 3 3, 0.25, 1; 4 cout << m.cwiseInverse() << endl;