#include <F_CgNrLS.hpp>
Inheritance diagram for F_CgNrLS:
Purpose: Normal Equation CG for non-symmetric linear systems(may be slow do to squared condition number) 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. Papers: "Preconditioned Conjugate Gradient Like Methods for Nonsymmetric Linear Systems", Ulrike Meier Yang, July 19, 1994, University of Illinois.
Public Methods | |
F_CgNrLS (int maxIterations, double epsilon=1.0e-4) | |
virtual | ~F_CgNrLS () |
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 |
FloatVector * | ptAt |