23#include <cusp/detail/config.h>
51template <
typename ValueType,
typename MemorySpace>
72 template<
typename MatrixTypeA>
73 scaled_bridson_ainv(
const MatrixTypeA & A, ValueType drop_tolerance=0.1,
int nonzero_per_row=-1,
bool lin_dropping=
false,
int lin_param=1);
82 template <
typename VectorType1,
typename VectorType2>
102template <
typename ValueType,
typename MemorySpace>
125 template<
typename MatrixTypeA>
126 bridson_ainv(
const MatrixTypeA & A, ValueType drop_tolerance=0.1,
int nonzero_per_row =-1,
bool lin_dropping=
false,
int lin_param=1);
135 template <
typename VectorType1,
typename VectorType2>
151template <
typename ValueType,
typename MemorySpace>
174 template<
typename MatrixTypeA>
175 nonsym_bridson_ainv(
const MatrixTypeA & A, ValueType drop_tolerance=0.1,
int nonzero_per_row=-1,
bool lin_dropping=
false,
int lin_param=1);
184 template <
typename VectorType1,
typename VectorType2>
199#include <cusp/precond/detail/ainv.inl>
The array1d class is a 1D vector container that may contain elements stored in "host" or "device" mem...
Hybrid (HYB) representation a sparse matrix.
Abstract representation of a linear operator.
cusp::hyb_matrix< int, ValueType, MemorySpace > w
The approximate inverse factor W.
bridson_ainv(const MatrixTypeA &A, ValueType drop_tolerance=0.1, int nonzero_per_row=-1, bool lin_dropping=false, int lin_param=1)
cusp::hyb_matrix< int, ValueType, MemorySpace > w_t
The transpose of the approximate inverse factor W.
void operator()(const VectorType1 &x, VectorType2 &y)
cusp::array1d< ValueType, MemorySpace > diagonals
The diagonal entries of the factorization.
cusp::array1d< ValueType, MemorySpace > diagonals
The diagonal entries of the factorization.
cusp::hyb_matrix< int, ValueType, MemorySpace > w_t
The transpose of the approximate inverse factor W.
nonsym_bridson_ainv(const MatrixTypeA &A, ValueType drop_tolerance=0.1, int nonzero_per_row=-1, bool lin_dropping=false, int lin_param=1)
void operator()(const VectorType1 &x, VectorType2 &y)
cusp::hyb_matrix< int, ValueType, MemorySpace > z
The approximate inverse factor Z.
scaled_bridson_ainv(const MatrixTypeA &A, ValueType drop_tolerance=0.1, int nonzero_per_row=-1, bool lin_dropping=false, int lin_param=1)
void operator()(const VectorType1 &x, VectorType2 &y)
cusp::hyb_matrix< int, ValueType, MemorySpace > w_t
The transpose of the approximate inverse factor W.
cusp::hyb_matrix< int, ValueType, MemorySpace > w
The approximate inverse factor W.
Hybrid ELL/COO matrix format.
Abstract interface for iterative solvers.