ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
viennacl::linalg::fspai_precond< MatrixType > Class Template Reference

Implementation of the Factored SParse Approximate Inverse Algorithm for a generic, uBLAS-compatible matrix type. More...

#include <spai.hpp>

Public Member Functions

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

Detailed Description

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

Implementation of the Factored SParse Approximate Inverse Algorithm for a generic, uBLAS-compatible matrix type.

Parameters
Matrixmatrix that is used for computations
Vectorvector that is used for computations
Examples:
spai.cpp.

Definition at line 189 of file spai.hpp.

Constructor & Destructor Documentation

template<typename MatrixType>
viennacl::linalg::fspai_precond< MatrixType >::fspai_precond ( const MatrixType &  A,
const fspai_tag tag 
)
inline

Constructor.

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

Definition at line 201 of file spai.hpp.

Member Function Documentation

template<typename MatrixType>
void viennacl::linalg::fspai_precond< MatrixType >::apply ( VectorType &  vec) const
inline

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

Parameters
vecrhs vector

Definition at line 211 of file spai.hpp.


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