Lines Matching refs:MatrixType

13 template<typename MatrixType, int QRPreconditioner>
14 void jacobisvd_check_full(const MatrixType& m, const JacobiSVD<MatrixType, QRPreconditioner>& svd)
16 svd_check_full<MatrixType, JacobiSVD<MatrixType, QRPreconditioner > >(m, svd);
19 template<typename MatrixType, int QRPreconditioner>
20 void jacobisvd_compare_to_full(const MatrixType& m,
22 const JacobiSVD<MatrixType, QRPreconditioner>& referenceSvd)
24 svd_compare_to_full<MatrixType, JacobiSVD<MatrixType, QRPreconditioner> >(m, computationOptions, referenceSvd);
28 template<typename MatrixType, int QRPreconditioner>
29 void jacobisvd_solve(const MatrixType& m, unsigned int computationOptions)
31 svd_solve< MatrixType, JacobiSVD< MatrixType, QRPreconditioner > >(m, computationOptions);
36 template<typename MatrixType, int QRPreconditioner>
37 void jacobisvd_test_all_computation_options(const MatrixType& m)
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);
52 template<typename MatrixType>
53 void jacobisvd(const MatrixType& a = MatrixType(), bool pickrandom = true)
55 MatrixType m = pickrandom ? MatrixType::Random(a.rows(), a.cols()) : a;
57 jacobisvd_test_all_computation_options<MatrixType, FullPivHouseholderQRPreconditioner>(m);
58 jacobisvd_test_all_computation_options<MatrixType, ColPivHouseholderQRPreconditioner>(m);
59 jacobisvd_test_all_computation_options<MatrixType, HouseholderQRPreconditioner>(m);
60 jacobisvd_test_all_computation_options<MatrixType, NoQRPreconditioner>(m);
64 template<typename MatrixType>
65 void jacobisvd_verify_assert(const MatrixType& m)
68 svd_verify_assert<MatrixType, JacobiSVD< MatrixType > >(m);
70 typedef typename MatrixType::Index Index;
75 RowsAtCompileTime = MatrixType::RowsAtCompileTime,
76 ColsAtCompileTime = MatrixType::ColsAtCompileTime
79 MatrixType a = MatrixType::Zero(rows, cols);
84 JacobiSVD<MatrixType, FullPivHouseholderQRPreconditioner> svd_fullqr;
91 template<typename MatrixType>
94 enum { Size = MatrixType::RowsAtCompileTime };
95 typedef typename MatrixType::RealScalar RealScalar;
97 MatrixType m = MatrixType::Identity();
106 template<typename MatrixType>
109 svd_inf_nan<MatrixType, JacobiSVD< MatrixType > >();