24 #ifndef _INTEGRATION_H_
25 #define _INTEGRATION_H_
37 template<
class T>
class SGVector;
75 uint32_t max_iter=1000,
index_t sn=10);
155 virtual const char*
get_name()
const {
return "Integration"; }
static float64_t integrate_quadgk(CFunction *f, float64_t a, float64_t b, float64_t abs_tol=1e-10, float64_t rel_tol=1e-5, uint32_t max_iter=1000, index_t sn=10)
static void generate_gauher(SGVector< float64_t > xgh, SGVector< float64_t > wgh)
Class that contains certain methods related to numerical integration.
Class of a function of one variable.
Class SGObject is the base class of all shogun objects.
static float64_t integrate_quadgh(CFunction *f)
static void generate_gauher20(SGVector< float64_t > xgh, SGVector< float64_t > wgh)
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
static float64_t integrate_quadgh_customized(CFunction *f, SGVector< float64_t > xgh, SGVector< float64_t > wgh)