Lines Matching refs:m1
27 MatrixType m1(rows, cols), in inverse() local
30 createRandomPIMatrixOfRank(rows,rows,rows,m1); in inverse()
31 m2 = m1.inverse(); in inverse()
32 VERIFY_IS_APPROX(m1, m2.inverse() ); in inverse()
36 VERIFY_IS_APPROX(identity, m1.inverse() * m1 ); in inverse()
37 VERIFY_IS_APPROX(identity, m1 * m1.inverse() ); in inverse()
39 VERIFY_IS_APPROX(m1, m1.inverse().inverse() ); in inverse()
42 VERIFY_IS_APPROX(MatrixType(m1.transpose().inverse()), MatrixType(m1.inverse().transpose())); in inverse()
51 m1.computeInverseAndDetWithCheck(m2, det, invertible); in inverse()
53 VERIFY_IS_APPROX(identity, m1*m2); in inverse()
54 VERIFY_IS_APPROX(det, m1.determinant()); in inverse()
57 m1.computeInverseWithCheck(m2, invertible); in inverse()
59 VERIFY_IS_APPROX(identity, m1*m2); in inverse()
75 VERIFY_RAISES_ASSERT(m1 = m1.inverse()); in inverse()
79 m2 = m1.inverse(); in inverse()
80 m1 = m1.inverse(); in inverse()
81 VERIFY_IS_APPROX(m1,m2); in inverse()