Lines Matching refs:determinant
14 template<typename MatrixType> void determinant(const MatrixType& m) in determinant() function
27 VERIFY_IS_APPROX(MatrixType::Identity(size, size).determinant(), Scalar(1)); in determinant()
28 VERIFY_IS_APPROX((m1*m2).eval().determinant(), m1.determinant() * m2.determinant()); in determinant()
37 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); 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()
45 VERIFY_IS_APPROX(m2.determinant(), m1.determinant()); 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()
58 CALL_SUBTEST_1( determinant(Matrix<float, 1, 1>()) ); in test_determinant()
59 CALL_SUBTEST_2( determinant(Matrix<double, 2, 2>()) ); in test_determinant()
60 CALL_SUBTEST_3( determinant(Matrix<double, 3, 3>()) ); in test_determinant()
61 CALL_SUBTEST_4( determinant(Matrix<double, 4, 4>()) ); in test_determinant()
62 CALL_SUBTEST_5( determinant(Matrix<std::complex<double>, 10, 10>()) ); in test_determinant()
64 CALL_SUBTEST_6( determinant(MatrixXd(s, s)) ); in test_determinant()