Jacobi preconditioner class, can be supplied to solve()-routines. Generic version for non-ViennaCL matrices.
More...
#include <jacobi_precond.hpp>
|
| 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...
|
|
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.
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: