Public Member Functions

spai_precond< viennacl::compressed_matrix< ScalarType, MAT_ALIGNMENT > > Class Template Reference

#include <spai.hpp>

Public Member Functions

 spai_precond (const MatrixType &A, const spai_tag &tag)
 Constructor.
void apply (VectorType &vec) const
 Application of current preconditioner, multiplication on the right-hand side vector.

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


Constructor & Destructor Documentation

spai_precond ( const MatrixType A,
const spai_tag tag 
) [inline]

Constructor.

Parameters:
A matrix whose approximate inverse is calculated. Must be quadratic.
tag spai tag

Member Function Documentation

void apply ( VectorType vec  )  const [inline]

Application of current preconditioner, multiplication on the right-hand side vector.

Parameters:
vec rhs vector

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