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