|
22 #ifndef _elegent_math_
23 #define _elegent_math_
27 #include <gsl/gsl_integration.h>
46 typedef double (* RealFunction)( double x, double *par, const void *obj);
58 unsigned long work_space_size,
59 gsl_integration_workspace *work_space,
60 const char* errorLabel= ""
70 double from, double to,
71 double abs_err, double rel_err,
72 unsigned long work_space_size, gsl_integration_workspace *work_space, const char* errorLabel= "");
TComplex(* ComplexFunction)(double x, double *par, const void *obj) Represents a complex function of real variable. Definition: Math.h:65
TComplex ComplexIntegrate(ComplexFunction fcn, double *par, const void *object, double from, double to, double abs_err, double rel_err, unsigned long work_space_size, gsl_integration_workspace *work_space, const char *errorLabel="") Integration of a complex function of a real variable. Definition: Math.cc:119
bool abortOnIntegrationError Abort when integration error occurs? Definition: Math.cc:31
double RealIntegrate(RealFunction fcn, double *par, const void *object, double from, double to, double abs_err, double rel_err, unsigned long work_space_size, gsl_integration_workspace *work_space, const char *errorLabel="") Integration of a real function of a real variable. Definition: Math.cc:58
double(* RealFunction)(double x, double *par, const void *obj) Represents a real function of real variable. Definition: Math.h:46
|