26 #include <cusp/detail/config.h>
84 template <
typename ValueType,
typename MemorySpace>
96 template<
typename MatrixType>
106 template <
typename VectorType1,
typename VectorType2>
107 void operator()(
const VectorType1& x, VectorType2& y)
const;
115 #include <cusp/precond/detail/diagonal.inl>
Diagonal preconditoner (aka Jacobi preconditioner)
diagonal(const MatrixType &A)
void operator()(const VectorType1 &x, VectorType2 &y) const
Abstract representation of a linear operator.
Abstract interface for iterative solvers.
1D array of elements that may reside in "host" or "device" memory space