Implementation of the SParse Approximate Inverse Algorithm.
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.
|
void | apply (VectorType &vec) const |
| Application of current preconditioner, multiplication on the right-hand side vector.
|
Detailed Description
template<typename MatrixType>
class viennacl::linalg::spai_precond< MatrixType >
Implementation of the SParse Approximate Inverse Algorithm.
- Parameters:
-
| Matrix | matrix that is used for computations |
| Vector | vector that is used for computations |
Member Typedef Documentation
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
| A | matrix whose approximate inverse is calculated. Must be quadratic. |
| tag | spai tag |
Member Function Documentation
Application of current preconditioner, multiplication on the right-hand side vector.
- Parameters:
-
The documentation for this class was generated from the following file:
- /data/development/ViennaCL/dev/viennacl/linalg/spai.hpp