HLIBpro
2.7
|
Implements conjugate gradient iteration.
#include <TCG.hh>
Inherits TSolver.
Public Member Functions | |
TCG (const TStopCriterion &stop_crit=TStopCriterion()) | |
construct CG solver object | |
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 | |