cg.h File Reference
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 | |
|
) |
| | [inline] |
Definition at line 24 of file cg.h.