HLIBpro  2.6
TGMRES Class Reference

Implements GMRES iteration with restart.

#include <TGMRES.hh>

Inherits TSolver.

Public Member Functions

 TGMRES (const TStopCriterion &stop_crit=TStopCriterion())
 construct GMRES solver object with default restart
 
 TGMRES (const uint restart, const TStopCriterion &stop_crit=TStopCriterion())
 construct GMRES solver object with given restart
 
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