Lines Matching refs:m2
21 MatrixType m1(size, size), m2(size, size); in determinant() local
23 m2.setRandom(); in determinant()
27 VERIFY_IS_APPROX((m1*m2).determinant(), m1.determinant() * m2.determinant()); in determinant()
34 m2 = m1; in determinant()
35 m2.row(i).swap(m2.row(j)); in determinant()
36 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
37 m2 = m1; in determinant()
38 m2.col(i).swap(m2.col(j)); in determinant()
39 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
40 VERIFY_IS_APPROX(m2.determinant(), m2.transpose().determinant()); in determinant()
41 VERIFY_IS_APPROX(ei_conj(m2.determinant()), m2.adjoint().determinant()); in determinant()
42 m2 = m1; in determinant()
43 m2.row(i) += x*m2.row(j); in determinant()
44 VERIFY_IS_APPROX(m2.determinant(), m1.determinant()); in determinant()
45 m2 = m1; in determinant()
46 m2.row(i) *= x; in determinant()
47 VERIFY_IS_APPROX(m2.determinant(), m1.determinant() * x); in determinant()