Lines Matching refs:qr
13 template<typename MatrixType> void qr(const MatrixType& m)
39 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1);
41 Matrix<Scalar,Rows,Cols> r = qr.matrixQR();
45 VERIFY_IS_APPROX(m1, qr.householderQ() * r);
50 m2 = qr.solve(m3);
71 HouseholderQR<MatrixType> qr(m1);
73 m2 = qr.solve(m3);
80 m3 = qr.householderQ(); // get a unitary
82 qr.compute(m1);
83 VERIFY_IS_APPROX(absdet, qr.absDeterminant());
84 VERIFY_IS_APPROX(internal::log(absdet), qr.logAbsDeterminant());
91 HouseholderQR<MatrixType> qr;
92 VERIFY_RAISES_ASSERT(qr.matrixQR())
93 VERIFY_RAISES_ASSERT(qr.solve(tmp))
94 VERIFY_RAISES_ASSERT(qr.householderQ())
95 VERIFY_RAISES_ASSERT(qr.absDeterminant())
96 VERIFY_RAISES_ASSERT(qr.logAbsDeterminant())
102 CALL_SUBTEST_1( qr(MatrixXf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE),internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
103 CALL_SUBTEST_2( qr(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2),internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2))) );
107 CALL_SUBTEST_11( qr(Matrix<float,1,1>()) );