Lines Matching refs:m2
22 MatrixType m1(size, size), m2(size, size); in determinant() local
24 m2.setRandom(); in determinant()
28 VERIFY_IS_APPROX((m1*m2).eval().determinant(), m1.determinant() * m2.determinant()); in determinant()
35 m2 = m1; in determinant()
36 m2.row(i).swap(m2.row(j)); in determinant()
37 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
38 m2 = m1; in determinant()
39 m2.col(i).swap(m2.col(j)); in determinant()
40 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
41 VERIFY_IS_APPROX(m2.determinant(), m2.transpose().determinant()); in determinant()
42 VERIFY_IS_APPROX(numext::conj(m2.determinant()), m2.adjoint().determinant()); in determinant()
43 m2 = m1; in determinant()
44 m2.row(i) += x*m2.row(j); in determinant()
45 VERIFY_IS_APPROX(m2.determinant(), m1.determinant()); in determinant()
46 m2 = m1; in determinant()
47 m2.row(i) *= x; in determinant()
48 VERIFY_IS_APPROX(m2.determinant(), m1.determinant() * x); in determinant()
51 VERIFY_IS_APPROX(m2.block(0,0,0,0).determinant(), Scalar(1)); in determinant()