Function Dune::XT::LA::solve_sym_tridiag_posdef

template<class MatrixType, class VectorType, class RhsVectorType>
int Dune::XT::LA::solve_sym_tridiag_posdef(const MatrixType &A, VectorType &x, const RhsVectorType &y)

Solves A*x = y, where A is a symmetric positive definite tridiagonal matrix given as a full matrix.

template<class VectorType, class SecondVectorType, class RhsVectorType>
int Dune::XT::LA::solve_sym_tridiag_posdef(VectorType &diag, SecondVectorType &subdiag, RhsVectorType &b)

Solves linear equation for tridiagonal symmetric positive definite matrix.