Class xlifepp::QmrSolver#

class QmrSolver : public xlifepp::IterativeSolver#

Implement Quasi-Minimal Residual algorithm.

Public Functions

inline QmrSolver()#

Constructor.

inline QmrSolver(const Parameter &p1)#

contructors with key-value system

inline QmrSolver(real_t eps, number_t maxOfIt = defaultMaxIterations, number_t vb = theVerboseLevel)#

Full Constructor.

template<class Mat, class VecB, class VecX>
inline VecX operator()(const Mat &matA, const VecB &vecB, ValueType solType)#

Template Solvers without a preconditionner and vecX0 = vecB.

template<class Mat, class VecB, class VecX>
inline VecX operator()(const Mat &matA, const VecB &vecB, VecX &vecX0)#

Template Solvers without a precondition without argument “solType.

template<class Mat, class VecB, class VecX>
inline VecX operator()(const Mat &matA, const VecB &vecB, VecX &vecX0, ValueType solType)#

Template Solvers without a precondition.

template<class Mat, class VecB, class VecX, class VecPC>
inline VecX operator()(const Mat &matA, const VecB &vecB, VecX &vecX0, VecPC &pc)#

Template Solvers with a precondition without argument “solType.

template<class Mat, class VecB, class VecX, class VecPC>
inline VecX operator()(const Mat &matA, const VecB &vecB, VecX &vecX0, VecPC &pc, ValueType solType)#

Template Solvers with a preconditioner.