HLIBpro
2.5.1
|
Implements linear iteration . More...
#include <TLinearIteration.hh>
Inherits TSolver.
Public Member Functions | |
TLinearIteration (const TStopCriterion &stop_crit=TStopCriterion()) | |
construct linear iteration solver object | |
TLinearIteration (const real damping, const TStopCriterion &stop_crit=TStopCriterion()) | |
construct linear iteration solver object with damping | |
virtual | ~TLinearIteration () |
dtor | |
virtual void | solve (const TLinearOperator *A, TVector *x, const TVector *b, const TLinearOperator *W=nullptr, TSolverInfo *info=nullptr) const |
solve A·x = b with optional preconditioner W | |
virtual void | solve (const TLinearOperator *A, TMatrix *X, const TMatrix *B, const TLinearOperator *W=nullptr, TSolverInfo *info=nullptr) const |
solve A·X = B with optional preconditioner W | |
The class TLinearIteration implements a linear iteration solver based on the second normal form with the iteration matrix . Please note, that the iteration matrix is defined as the preconditioner , e.g., for other linear iterations like Jacobi, GS or SOR, please use the correct preconditioner.