10 #ifndef ITERATIVE_LINEAR_SOLVER_H_
11 #define ITERATIVE_LINEAR_SOLVER_H_
97 return "IterativeLinearSolver";
124 #endif // ITERATIVE_LINEAR_SOLVER_H_
virtual const char * get_name() const
SGVector< float64_t > m_residuals
const index_t get_iteration_limit() const
void set_relative_tolerence(float64_t relative_tolerence)
float64_t m_absolute_tolerence
void set_iteration_limit(index_t iteration_limit)
abstract template base for all iterative linear solvers such as conjugate gradient (CG) solvers...
SGVector< float64_t > get_residuals() const
virtual SGVector< T > solve(CLinearOperator< T > *A, SGVector< ST > b)=0
void set_absolute_tolerence(float64_t absolute_tolerence)
Abstract template base class that provides an abstract solve method for linear systems, that takes a linear operator , a vector , solves the system and returns the vector .
all of classes and functions are contained in the shogun namespace
index_t m_max_iteration_limit
const float64_t get_absolute_tolerence() const
const float64_t get_relative_tolerence() const
Abstract template base class that represents a linear operator, e.g. a matrix.
void set_const(T const_elem)
float64_t m_relative_tolerence
virtual ~CIterativeLinearSolver()