Lines Matching refs:qr
13 template<typename MatrixType> void qr(const MatrixType& m) in qr() function
38 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); in qr_fixedsize() local
40 Matrix<Scalar,Rows,Cols> r = qr.matrixQR(); in qr_fixedsize()
44 VERIFY_IS_APPROX(m1, qr.householderQ() * r); in qr_fixedsize()
49 m2 = qr.solve(m3); in qr_fixedsize()
72 HouseholderQR<MatrixType> qr(m1); in qr_invertible() local
74 m2 = qr.solve(m3); in qr_invertible()
81 m3 = qr.householderQ(); // get a unitary in qr_invertible()
83 qr.compute(m1); in qr_invertible()
84 VERIFY_IS_APPROX(absdet, qr.absDeterminant()); in qr_invertible()
85 VERIFY_IS_APPROX(log(absdet), qr.logAbsDeterminant()); in qr_invertible()
92 HouseholderQR<MatrixType> qr; in qr_verify_assert() local
93 VERIFY_RAISES_ASSERT(qr.matrixQR()) in qr_verify_assert()
94 VERIFY_RAISES_ASSERT(qr.solve(tmp)) in qr_verify_assert()
95 VERIFY_RAISES_ASSERT(qr.householderQ()) in qr_verify_assert()
96 VERIFY_RAISES_ASSERT(qr.absDeterminant()) in qr_verify_assert()
97 VERIFY_RAISES_ASSERT(qr.logAbsDeterminant()) in qr_verify_assert()
103 …CALL_SUBTEST_1( qr(MatrixXf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::random<int>(1,E… in test_qr()
104 …CALL_SUBTEST_2( qr(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2),internal::random<int>(… in test_qr()
108 CALL_SUBTEST_11( qr(Matrix<float,1,1>()) ); in test_qr()