Class xlifepp::CgSolver#
-
class CgSolver : public xlifepp::IterativeSolver#
-
Inheritence diagram for xlifepp::CgSolver:
Collaboration diagram for xlifepp::CgSolver:
Implement Conjugate Gradient algorithm.
Public Functions
-
inline CgSolver()#
-
Default constructor.
-
inline CgSolver(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, ValueType solType)#
-
Template Solvers without a preconditionner and X0 = vecB.
-
template<class Mat, class VecB, class VecX>
inline VecX operator()(Mat &matA, VecB &vecB, VecX &vecX0)#
-
Template Solvers without a preconditioner without argument “solType.
-
template<class Mat, class VecB, class VecX>
inline VecX operator()(Mat &matA, VecB &vecB, VecX &vecX0, ValueType solType)#
-
Template Solvers without a preconditioner.
-
inline CgSolver()#