21 #include <odindata/data.h>
48 double get_integral(
double xmin,
double xmax,
unsigned int max_subintervals=1000,
double error_limit=1e-7)
const;
86 static double integrand(
double x,
void *params);
89 unsigned int n_intervals;
91 GslData4Integr* gsldata;
FunctionIntegral(const Integrand &func, unsigned int max_subintervals=1000, double error_limit=1e-7)
double get_integral(double xmin, double xmax) const
double get_integral(double xmin, double xmax, unsigned int max_subintervals=1000, double error_limit=1e-7) const
virtual double evaluate(double x) const =0