Lines Matching full:template
1 // This file is part of Eigen, a lightweight C++ template library
29 template<typename MatrixType,template <typename,int> class CholType> void test_chol_update(const MatrixType& symm)
35 MatrixType symmLo = symm.template triangularView<Lower>();
36 MatrixType symmUp = symm.template triangularView<Upper>();
61 template<typename MatrixType> void cholesky(const MatrixType& m)
88 //symm.template part<StrictlyLower>().setZero();
91 SquareMatrixType symmUp = symm.template triangularView<Upper>();
92 SquareMatrixType symmLo = symm.template triangularView<Lower>();
121 m2 += symmLo.template selfadjointView<Lower>().llt().solve(matB);
122 VERIFY_IS_APPROX(m2, m1 + symmLo.template selfadjointView<Lower>().llt().solve(matB));
124 m2 -= symmLo.template selfadjointView<Lower>().llt().solve(matB);
125 VERIFY_IS_APPROX(m2, m1 - symmLo.template selfadjointView<Lower>().llt().solve(matB));
127 m2.noalias() += symmLo.template selfadjointView<Lower>().llt().solve(matB);
128 VERIFY_IS_APPROX(m2, m1 + symmLo.template selfadjointView<Lower>().llt().solve(matB));
130 m2.noalias() -= symmLo.template selfadjointView<Lower>().llt().solve(matB);
131 VERIFY_IS_APPROX(m2, m1 - symmLo.template selfadjointView<Lower>().llt().solve(matB));
143 SquareMatrixType symmUp = symm.template triangularView<Upper>();
144 SquareMatrixType symmLo = symm.template triangularView<Lower>();
241 template<typename MatrixType> void cholesky_cplx(const MatrixType& m)
270 RealMatrixType symmLo = symm.template triangularView<Lower>();
289 RealMatrixType symmLo = symm.template triangularView<Lower>();
301 template<typename MatrixType> void cholesky_bug241(const MatrixType& m)
319 template<typename MatrixType> void cholesky_definiteness(const MatrixType& m)
357 template<typename MatrixType> void cholesky_verify_assert()