ViennaCL - The Vienna Computing Library
1.5.1
|
Jacobi preconditioner class, can be supplied to solve()-routines. More...
#include <row_scaling.hpp>
Public Member Functions | |
row_scaling (MatrixType const &mat, row_scaling_tag const &tag) | |
Constructor for the preconditioner. | |
void | init (MatrixType const &mat, row_scaling_tag const &tag) |
template<unsigned int ALIGNMENT> | |
void | apply (viennacl::vector< ScalarType, ALIGNMENT > &vec) const |
Jacobi preconditioner class, can be supplied to solve()-routines.
Specialization for compressed_matrix
row_scaling | ( | MatrixType const & | mat, |
row_scaling_tag const & | tag | ||
) | [inline] |
Constructor for the preconditioner.
mat | The system matrix |
tag | A row scaling tag holding the desired norm. |
void apply | ( | viennacl::vector< ScalarType, ALIGNMENT > & | vec | ) | const [inline] |
void init | ( | MatrixType const & | mat, |
row_scaling_tag const & | tag | ||
) | [inline] |