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, int &max_iter, Real &tol) |
Function Documentation
template<class Matrix , class Vector , class Preconditioner , class Real >
int CG |
( |
const Matrix & |
A, |
|
|
Vector & |
x, |
|
|
const Vector & |
b, |
|
|
const Preconditioner & |
M, |
|
|
int & |
max_iter, |
|
|
Real & |
tol |
|
) |
| |
Definition at line 24 of file cg.h.