Class xlifepp::BicgSolver#

class BicgSolver : public xlifepp::IterativeSolver#

Implement BiConjugate Gradient algorithm.

Public Functions

inline BicgSolver()#

Default Constructor.

inline BicgSolver(const Parameter &p1)#

contructors with key-value system

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

Full constructor.

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

Template Solvers without a precondition without argument “solType.

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

Template Solvers with a preconditioner.

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

Template Solvers without a precondition.

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

Template Solvers with a precondition without argument “solType.

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

Template Solvers without a preconditionner and vecX0 = vecB.