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.
|
| template<typename VectorType > |
| void | apply (VectorType &vec) const |
| | Apply to res = b - Ax, i.e. row applied vec (right hand side),.
|
Detailed Description
template<typename MatrixType>
class viennacl::linalg::row_scaling< MatrixType >
Jacobi preconditioner class, can be supplied to solve()-routines.
Constructor & Destructor Documentation
Constructor for the preconditioner.
- Parameters
-
| mat | The system matrix |
| tag | A row scaling tag holding the desired norm. |
Member Function Documentation
| void apply |
( |
VectorType & |
vec | ) |
const |
|
inline |
Apply to res = b - Ax, i.e. row applied vec (right hand side),.
The documentation for this class was generated from the following file: