ViennaCL - The Vienna Computing Library
1.5.1
|
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),. |
Jacobi preconditioner class, can be supplied to solve()-routines. Generic version for non-ViennaCL matrices.
jacobi_precond | ( | MatrixType const & | mat, |
jacobi_tag const & | |||
) | [inline] |
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] |