Public Member Functions

jacobi_precond< MatrixType > Class Template Reference

Jacobi preconditioner class, can be supplied to solve()-routines. More...

#include <jacobi_precond.hpp>

Public Member Functions

 jacobi_precond (MatrixType const &mat, jacobi_tag const &tag)
template<typename VectorType >
void apply (VectorType &vec) const
 Apply to res = b - Ax, i.e. jacobi applied vec (right hand side),.

Detailed Description

template<typename MatrixType>
class viennacl::linalg::jacobi_precond< MatrixType >

Jacobi preconditioner class, can be supplied to solve()-routines.


Constructor & Destructor Documentation

jacobi_precond ( MatrixType const &  mat,
jacobi_tag const &  tag 
) [inline]

Member Function Documentation

void apply ( VectorType &  vec  )  const [inline]

Apply to res = b - Ax, i.e. jacobi applied vec (right hand side),.


The documentation for this class was generated from the following file: