#include <CG_NR.hpp>
Inheritance diagram for CG_NR:


Purpose: Define the NE Conjugate Gradient Linear Solver
Used to solve a set of linearized differencial equations,....
Some restoration are of the style: A * iNew = iOld
iNew could be X, and iOld could be b.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
| CG_NR (int asize, int iterMax, double eps=1e-4) | |
| virtual | ~CG_NR () |
| virtual bool | iterate () |
| virtual void | output () |
| virtual void | output (FILE *file) |
Protected Attributes | |
| double | alpha |
| double | beta |
| RealVector * | r |
| RealVector * | p |
| RealVector * | ap |
| RTriDiagonalMatrix * | At |
![]() |
