#include <CGS.hpp>
Inheritance diagram for CGS:
Purpose: Define the Squared 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 | |
CGS (int asize, int iterMax, double eps=1e-4) | |
virtual | ~CGS () |
virtual bool | iterate () |
virtual void | output () |
virtual void | output (FILE *file) |
Protected Attributes | |
double | alpha |
double | beta |
RealVector * | r |
RealVector * | p |
RealVector * | ap |
RealVector * | r |
RealVector * | s |
RealVector * | t |
RealVector * | ast |