ViennaCL - The Vienna Computing Library  1.2.0
Public Member Functions
fspai_precond< MatrixType > Class Template Reference

Implementation of the Factored SParse Approximate Inverse Algorithm. More...

#include <spai.hpp>

Public Member Functions

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

Detailed Description

template<typename MatrixType>
class viennacl::linalg::fspai_precond< MatrixType >

Implementation of the Factored SParse Approximate Inverse Algorithm.

Parameters
Matrixmatrix that is used for computations
Vectorvector that is used for computations

Constructor & Destructor Documentation

fspai_precond ( const MatrixType &  A,
const fspai_tag tag 
)
inline

Constructor.

Parameters
Amatrix whose approximate inverse is calculated. Must be quadratic.
tagSPAI configuration tag

Member Function Documentation

void apply ( VectorType &  vec) const
inline

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

Parameters
vecrhs vector

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