ViennaCL - The Vienna Computing Library  1.2.0
Public Member Functions
row_scaling< compressed_matrix< ScalarType, MAT_ALIGNMENT > > Class Template Reference

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_gpu ()
template<unsigned int ALIGNMENT>
void apply (viennacl::vector< ScalarType, ALIGNMENT > &vec) const

Detailed Description

template<typename ScalarType, unsigned int MAT_ALIGNMENT>
class viennacl::linalg::row_scaling< compressed_matrix< ScalarType, MAT_ALIGNMENT > >

Jacobi preconditioner class, can be supplied to solve()-routines.

Specialization for compressed_matrix

Constructor & Destructor Documentation

row_scaling ( MatrixType const &  mat,
row_scaling_tag const &  tag 
)
inline

Constructor for the preconditioner.

Parameters
matThe system matrix
tagA row scaling tag holding the desired norm.

Member Function Documentation

void apply ( viennacl::vector< ScalarType, ALIGNMENT > &  vec) const
inline
void init_gpu ( )
inline

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