ViennaCL - The Vienna Computing Library
1.5.1
|
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 ScalarType |
typedef boost::numeric::ublas::vector<ScalarType> VectorType |
|
inline |
Constructor.
A | matrix whose approximate inverse is calculated. Must be quadratic. |
tag | spai tag |
|
inline |
Application of current preconditioner, multiplication on the right-hand side vector.
vec | rhs vector |