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