Implementation of the SParse Approximate Inverse Algorithm for a generic, uBLAS-compatible matrix type. More...
#include <spai.hpp>
Public Types | |
typedef MatrixType::value_type | ScalarType |
typedef boost::numeric::ublas::vector < ScalarType > | VectorType |
Public Member Functions | |
spai_precond (const MatrixType &A, const spai_tag &tag) | |
Constructor. More... | |
void | apply (VectorType &vec) const |
Application of current preconditioner, multiplication on the right-hand side vector. More... | |
Implementation of the SParse Approximate Inverse Algorithm for a generic, uBLAS-compatible matrix type.
Matrix | matrix that is used for computations |
Vector | vector that is used for computations |
typedef MatrixType::value_type viennacl::linalg::spai_precond< MatrixType >::ScalarType |
typedef boost::numeric::ublas::vector<ScalarType> viennacl::linalg::spai_precond< MatrixType >::VectorType |
|
inline |
|
inline |