NeoPZ
Functions
cg.h File Reference

Contains the implementation of the CG function which solves the symmetric positive definite linear system using the Conjugate Gradient method. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class Matrix , class Vector , class Preconditioner , class Real >
int CG (Matrix &A, Vector &x, const Vector &b, Preconditioner &M, Vector *residual, int64_t &max_iter, Real &tol, const int FromCurrent)
 CG solves the symmetric positive definite linear system $ A x = b $ using the Conjugate Gradient method. More...
 

Detailed Description

Contains the implementation of the CG function which solves the symmetric positive definite linear system using the Conjugate Gradient method.

Definition in file cg.h.