Solves an unsymmetric linear system of equations using the Conjugate Gradient Squared method. More...
Namespaces | |
| namespace | OFELI |
| A namespace to group all library classes, functions, ... | |
Functions | |
| template<class T_ > | |
| int | CGS (const SpMatrix< T_ > &A, const Prec< T_ > &P, const Vect< T_ > &b, Vect< T_ > &x, int max_it, real_t toler) |
| Conjugate Gradient Squared solver function. | |
| template<class T_ > | |
| int | CGS (const SpMatrix< T_ > &A, int prec, const Vect< T_ > &b, Vect< T_ > &x, int max_it, real_t toler) |
| Conjugate Gradient Squared solver function. | |
Solves an unsymmetric linear system of equations using the Conjugate Gradient Squared method.
Preconditioning is possible using a preconditioning class.