Function to solve a linear system of equations using the Generalized Minimum Residual method. More...
Namespaces | |
OFELI | |
A namespace to group all library classes, functions, ... | |
Functions | |
template<class T_ > | |
int | GMRes (const SpMatrix< T_ > &A, const Prec< T_ > &P, const Vect< T_ > &b, Vect< T_ > &x, size_t m, int max_it, real_t toler) |
GMRes solver function. More... | |
template<class T_ > | |
int | GMRes (const SpMatrix< T_ > &A, int prec, const Vect< T_ > &b, Vect< T_ > &x, size_t m, int max_it, real_t toler) |
GMRes solver function. More... | |
Function to solve a linear system of equations using the Generalized Minimum Residual method.
Preconditioning is possible using a preconditioning class.