HLIBpro  2.5.1
TAutoSolver Class Reference

Implements an iterative solver automatically choosing appropriate algorithm based on matrix criteria.

#include <TAutoSolver.hh>

Inherits TSolver.

Public Member Functions

 TAutoSolver (const TStopCriterion &stop_crit=TStopCriterion())
 construct auto 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