Lines Matching refs:jacobisvd
14 void jacobisvd_check_full(const MatrixType& m, const JacobiSVD<MatrixType, QRPreconditioner>& svd)
16 svd_check_full<MatrixType, JacobiSVD<MatrixType, QRPreconditioner > >(m, svd);
22 const JacobiSVD<MatrixType, QRPreconditioner>& referenceSvd)
24 svd_compare_to_full<MatrixType, JacobiSVD<MatrixType, QRPreconditioner> >(m, computationOptions, referenceSvd);
31 svd_solve< MatrixType, JacobiSVD< MatrixType, QRPreconditioner > >(m, computationOptions);
43 JacobiSVD< MatrixType, QRPreconditioner > fullSvd(m, ComputeFullU|ComputeFullV);
44 svd_test_computation_options_1< MatrixType, JacobiSVD< MatrixType, QRPreconditioner > >(m, fullSvd);
48 svd_test_computation_options_2< MatrixType, JacobiSVD< MatrixType, QRPreconditioner > >(m, fullSvd);
53 void jacobisvd(const MatrixType& a = MatrixType(), bool pickrandom = true)
68 svd_verify_assert<MatrixType, JacobiSVD< MatrixType > >(m);
84 JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner> svd_fullqr;
98 VERIFY_IS_APPROX(m.jacobiSvd().singularValues(), RealVecType::Ones());
99 VERIFY_RAISES_ASSERT(m.jacobiSvd().matrixU());
100 VERIFY_RAISES_ASSERT(m.jacobiSvd().matrixV());
101 VERIFY_IS_APPROX(m.jacobiSvd(ComputeFullU|ComputeFullV).solve(m), m);
109 svd_inf_nan<MatrixType, JacobiSVD< MatrixType > >();
113 // Regression test for bug 286: JacobiSVD loops indefinitely with some
128 JacobiSVD<Matrix2d> svd;
135 svd_preallocate< JacobiSVD <MatrixXf> >();
140 CALL_SUBTEST_11(( jacobisvd<Matrix<double,Dynamic,Dynamic> >
152 CALL_SUBTEST_1(( jacobisvd(m, false) ));
155 CALL_SUBTEST_1(( jacobisvd(m, false) ));
160 CALL_SUBTEST_2(( jacobisvd(n, false) ));
163 CALL_SUBTEST_2(( jacobisvd(n, false) ));
165 CALL_SUBTEST_3(( jacobisvd<Matrix3f>() ));
166 CALL_SUBTEST_4(( jacobisvd<Matrix4d>() ));
167 CALL_SUBTEST_5(( jacobisvd<Matrix<float,3,5> >() ));
168 CALL_SUBTEST_6(( jacobisvd<Matrix<double,Dynamic,2> >(Matrix<double,Dynamic,2>(10,2)) ));
172 CALL_SUBTEST_7(( jacobisvd<MatrixXf>(MatrixXf(r,c)) ));
173 CALL_SUBTEST_8(( jacobisvd<MatrixXcd>(MatrixXcd(r,c)) ));
181 CALL_SUBTEST_7(( jacobisvd<MatrixXf>(MatrixXf(internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/2), internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/2))) ));
182 CALL_SUBTEST_8(( jacobisvd<MatrixXcd>(MatrixXcd(internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/3), internal::random<int>(EIGEN_TEST_MAX_SIZE/4, EIGEN_TEST_MAX_SIZE/3))) ));
191 CALL_SUBTEST_7( JacobiSVD<MatrixXf>(10,10) );