NeoPZ
Functions
cgbet.h File Reference

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

Go to the source code of this file.

Functions

template<class Matrix , class Vector , class Preconditioner , class Real >
int CG (const Matrix &A, Vector &x, const Vector &b, const Preconditioner &M, int64_t &max_iter, Real &tol)
 CG solves the symmetric positive definite linear system $ Ax=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 cgbet.h.