ViennaCL - The Vienna Computing Library  1.5.1
Public Member Functions
jacobi_precond< MatrixType, is_viennacl > Class Template Reference

Jacobi preconditioner class, can be supplied to solve()-routines. Generic version for non-ViennaCL matrices. More...

#include <jacobi_precond.hpp>

Public Member Functions

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

Detailed Description

template<typename MatrixType, bool is_viennacl = detail::row_scaling_for_viennacl<MatrixType>::value>
class viennacl::linalg::jacobi_precond< MatrixType, is_viennacl >

Jacobi preconditioner class, can be supplied to solve()-routines. Generic version for non-ViennaCL matrices.

Constructor & Destructor Documentation

jacobi_precond ( MatrixType const &  mat,
jacobi_tag const &   
)
inline

Member Function Documentation

void apply ( VectorType &  vec) const
inline

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

void init ( MatrixType const &  mat)
inline

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