23 #include <cusp/detail/config.h>
100 template <
typename ValueType,
typename MemorySpace>
125 template <
typename MatrixType>
137 template <
typename MatrixType,
typename VectorType>
138 polynomial(
const MatrixType& A,
const VectorType& coefficients);
146 template<
typename MemorySpace2>
148 : default_coefficients(A.default_coefficients),
149 residual(A.residual), h(A.h), y(A.y) {}
162 template <
typename MatrixType,
typename VectorType1,
typename VectorType2>
163 void operator()(
const MatrixType& A,
const VectorType1& b, VectorType2& x);
177 template <
typename MatrixType,
typename VectorType1,
typename VectorType2,
typename VectorType3>
178 void operator()(
const MatrixType& A,
const VectorType1& b, VectorType2& x,
const VectorType3& coefficients);
186 #include <cusp/relaxation/detail/polynomial.inl>
The array1d class is a 1D vector container that may contain elements stored in "host" or "device" mem...
polynomial(const polynomial< ValueType, MemorySpace2 > &A)
void operator()(const MatrixType &A, const VectorType1 &b, VectorType2 &x)
Abstract representation of a linear operator.
Abstract interface for iterative solvers.
Represents a Polynomial relaxation scheme.