Lines Matching refs:inverse
14 template<typename MatrixType> void inverse(const MatrixType& m)
17 Inverse.h
36 m2 = m1.inverse();
37 VERIFY_IS_APPROX(m1, m2.inverse() );
40 VERIFY_IS_APPROX(m1, m2.inverse() );
42 VERIFY_IS_APPROX((Scalar(2)*m2).inverse(), m2.inverse()*Scalar(0.5));
44 VERIFY_IS_APPROX(identity, m1.inverse() * m1 );
45 VERIFY_IS_APPROX(identity, m1 * m1.inverse() );
47 VERIFY_IS_APPROX(m1, m1.inverse().inverse() );
50 VERIFY_IS_APPROX(m1.transpose().inverse(), m1.inverse().transpose());
56 CALL_SUBTEST_1( inverse(Matrix<double,1,1>()) );
57 CALL_SUBTEST_2( inverse(Matrix2d()) );
58 CALL_SUBTEST_3( inverse(Matrix3f()) );
59 CALL_SUBTEST_4( inverse(Matrix4f()) );
60 CALL_SUBTEST_5( inverse(MatrixXf(8,8)) );
61 CALL_SUBTEST_6( inverse(MatrixXcd(7,7)) );