Implementation of the Factored SParse Approximate Inverse Algorithm for a generic, uBLAS-compatible matrix type.
More...
#include <spai.hpp>
|
| 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...
|
|
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
-
Matrix | matrix that is used for computations |
Vector | vector that is used for computations |
- Examples:
- spai.cpp.
Definition at line 189 of file spai.hpp.
template<typename MatrixType>
Constructor.
- Parameters
-
A | matrix whose approximate inverse is calculated. Must be quadratic. |
tag | SPAI configuration tag |
Definition at line 201 of file spai.hpp.
template<typename MatrixType>
Application of current preconditioner, multiplication on the right-hand side vector.
- Parameters
-
Definition at line 211 of file spai.hpp.
The documentation for this class was generated from the following file: