• Home
  • Raw
  • Download

Lines Matching refs:inverse

14 template<typename MatrixType> void inverse(const MatrixType& m)  in inverse()  function
30 m2 = m1.inverse(); in inverse()
31 VERIFY_IS_APPROX(m1, m2.inverse() ); in inverse()
33 VERIFY_IS_APPROX((Scalar(2)*m2).inverse(), m2.inverse()*Scalar(0.5)); in inverse()
35 VERIFY_IS_APPROX(identity, m1.inverse() * m1 ); in inverse()
36 VERIFY_IS_APPROX(identity, m1 * m1.inverse() ); in inverse()
38 VERIFY_IS_APPROX(m1, m1.inverse().inverse() ); in inverse()
41 VERIFY_IS_APPROX(MatrixType(m1.transpose().inverse()), MatrixType(m1.inverse().transpose())); in inverse()
77 …m5.template topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>().inverse(); in inverse()
78 …late topLeftCorner<MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime>()), m2.inverse() ); in inverse()
86 VERIFY_RAISES_ASSERT(m1 = m1.inverse()); in inverse()
90 m2 = m1.inverse(); in inverse()
91 m1 = m1.inverse(); in inverse()
100 CALL_SUBTEST_1( inverse(Matrix<double,1,1>()) ); in test_inverse()
101 CALL_SUBTEST_2( inverse(Matrix2d()) ); in test_inverse()
102 CALL_SUBTEST_3( inverse(Matrix3f()) ); in test_inverse()
103 CALL_SUBTEST_4( inverse(Matrix4f()) ); in test_inverse()
104 CALL_SUBTEST_4( inverse(Matrix<float,4,4,DontAlign>()) ); in test_inverse()
107 CALL_SUBTEST_5( inverse(MatrixXf(s,s)) ); in test_inverse()
111 CALL_SUBTEST_6( inverse(MatrixXcd(s,s)) ); in test_inverse()
114 CALL_SUBTEST_7( inverse(Matrix4d()) ); in test_inverse()
115 CALL_SUBTEST_7( inverse(Matrix<double,4,4,DontAlign>()) ); in test_inverse()