#include <F_CgiLS.hpp>
Inheritance diagram for F_CgiLS:
Purpose: CG for indefinte Linear systems(not always stable behaviour) Works on symmetric/indefinite matrices 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. Paper: "Conjugate Gradient Type Methods for Solving Symmetric, Indefinite Linear Systems", Jan Modersoitzki, Report Univesity of Utrecht 1994, Netherland.
Public Methods | |
F_CgiLS (int maxIterations, double epsilon=1.0e-4) | |
virtual | ~F_CgiLS () |
virtual FloatVector * | solve (AFloatMatrix *m, FloatVector *b, FloatVector *dest) |
Protected Methods | |
virtual FloatVector * | singleSolve (AFloatMatrix *A, FloatVector *b, FloatVector *x=0) |
Private Attributes | |
bool | firstIteration |
double | alpha |
double | eta |
double | gamma |
FloatVector * | r |
FloatVector * | d_1 |
FloatVector * | d |
FloatVector * | s |