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


Purpose: Conjugate Gradient used for SPD Linear Systems
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.
Public Methods | |
| F_CgLS (int maxIterations, double epsilon=1.0e-4) | |
| virtual | ~F_CgLS () |
| virtual FloatVector * | solve (AFloatMatrix *m, FloatVector *b, FloatVector *dest) |
Protected Methods | |
| virtual FloatVector * | singleSolve (AFloatMatrix *A, FloatVector *b, FloatVector *x=0) |
Private Attributes | |
| double | alpha |
| double | beta |
| FloatVector * | r |
| FloatVector * | p |
| FloatVector * | ap |
![]() |
