• Home
  • Raw
  • Download

Lines Matching refs:symm

22   MatrixType symm = m.template selfadjointView<UpLo>();  in matrix_l1_norm()  local
23 return symm.cwiseAbs().colwise().sum().maxCoeff(); in matrix_l1_norm()
26 …me MatrixType,template <typename,int> class CholType> void test_chol_update(const MatrixType& symm) in test_chol_update() argument
32 MatrixType symmLo = symm.template triangularView<Lower>(); in test_chol_update()
33 MatrixType symmUp = symm.template triangularView<Upper>(); in test_chol_update()
34 MatrixType symmCpy = symm; in test_chol_update()
41 VectorType vec = VectorType::Random(symm.rows()); in test_chol_update()
75 SquareMatrixType symm = a0 * a0.adjoint(); in cholesky() local
80 symm += a1 * a1.adjoint(); in cholesky()
84 SquareMatrixType symmUp = symm.template triangularView<Upper>(); in cholesky()
85 SquareMatrixType symmLo = symm.template triangularView<Lower>(); in cholesky()
88 VERIFY_IS_APPROX(symm, chollo.reconstructedMatrix()); in cholesky()
90 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
92 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
104 VERIFY_IS_APPROX(symm, cholup.reconstructedMatrix()); in cholesky()
106 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
108 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
150 symm = -symm; // test a negative matrix in cholesky()
153 SquareMatrixType symmUp = symm.template triangularView<Upper>(); in cholesky()
154 SquareMatrixType symmLo = symm.template triangularView<Lower>(); in cholesky()
158 VERIFY_IS_APPROX(symm, ldltlo.reconstructedMatrix()); in cholesky()
160 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
162 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
175 VERIFY_IS_APPROX(symm, ldltup.reconstructedMatrix()); in cholesky()
177 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
179 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
211 symm = -symm; in cholesky()
216 SquareMatrixType A = symm; in cholesky()
281 CALL_SUBTEST(( test_chol_update<SquareMatrixType,LLT>(symm) )); in cholesky()
282 CALL_SUBTEST(( test_chol_update<SquareMatrixType,LDLT>(symm) )); in cholesky()
305 RealMatrixType symm = a0 * a0.adjoint(); in cholesky_cplx() local
310 symm += a1 * a1.adjoint(); in cholesky_cplx()
314 RealMatrixType symmLo = symm.template triangularView<Lower>(); in cholesky_cplx()
317 VERIFY_IS_APPROX(symm, chollo.reconstructedMatrix()); in cholesky_cplx()
319 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky_cplx()
330 symm = -symm; // test a negative matrix in cholesky_cplx()
333 RealMatrixType symmLo = symm.template triangularView<Lower>(); in cholesky_cplx()
337 VERIFY_IS_APPROX(symm, ldltlo.reconstructedMatrix()); in cholesky_cplx()
339 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky_cplx()