HLIBpro  2.3.1
Public Member Functions | List of all members
TMINRES Class Reference

Implements the MINRES iteration.

#include <TMINRES.hh>

Inherits TSolver.

Public Member Functions

 TMINRES (const uint max_iter=100, const real abs_res_red=real(1e-8), const real rel_res_red=real(1e-8), const real rel_res_growth=real(1e6))
 construct MINRES solver object with corresponding stop criteria
 
 TMINRES (const TStopCriterion &stop_crit)
 construct MINRES solver object with corresponding stop criteria
 
virtual void solve (const TLinearOperator *A, TVector *x, const TVector *b, const TLinearOperator *W=nullptr, TInfo *data=nullptr) const
 solve A·x = b with optional preconditioner W