HLIBpro  2.8.1
TTFQMR Class Reference

Implements squared conjugate gradient iteration.

#include <TTFQMR.hh>

Inherits TSolver.

Public Member Functions

 TTFQMR (const TStopCriterion &stop_crit=TStopCriterion())
 construct TFQMR solver object with corresponding stop criteria
 
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