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