#include <cassert>
#include <cstdlib>
#include "TClass.h"
#include "Riostream.h"
#include "RooAdaptiveGaussKronrodIntegrator1D.h"
#include "RooArgSet.h"
#include "RooRealVar.h"
#include "RooNumber.h"
#include "RooNumIntFactory.h"
#include "TMath.h"
#include "RooMsgService.h"
Classes | |
struct | extrapolation_table |
struct | gsl_function_struct |
struct | gsl_integration_workspace |
struct | il_params |
struct | iu_params |
Macros | |
#define | GSL_COERCE_DBL(x) (gsl_coerce_double(x)) |
#define | GSL_DBL_EPSILON 2.2204460492503131e-16 |
#define | GSL_DBL_MAX 1.7976931348623157e+308 |
#define | GSL_DBL_MIN 2.2250738585072014e-308 |
#define | GSL_EBADTOL 13 /* user specified an invalid tolerance */ |
#define | GSL_EDIVERGE 6 |
#define | GSL_EDOM 1 /* input domain error, e.g sqrt(-1) */ |
#define | GSL_EFAILED 5 |
#define | GSL_EINVAL 2 |
#define | GSL_EMAXITER 3 |
#define | GSL_ENOMEM 8 /* malloc failed */ |
#define | GSL_EROUND 7 |
#define | GSL_ERROR(a, b) oocoutE(nullptr,Integration) << "RooAdaptiveGaussKronrodIntegrator1D::integral() ERROR: " << a << endl ; return b ; |
#define | GSL_ERROR_VAL(reason, gsl_errno, value) return value ; |
#define | GSL_ESING 4 |
#define | GSL_ETOL 14 /* failed to reach the specified tolerance */ |
#define | GSL_FN_EVAL(F, x) (*((F)->function))(x,(F)->params) |
#define | GSL_MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | GSL_SUCCESS 0 |
Typedefs | |
typedef struct gsl_function_struct | gsl_function |
typedef void | gsl_integration_rule(const gsl_function *f, double a, double b, double *result, double *abserr, double *defabs, double *resabs) |
Enumerations | |
enum | { GSL_INTEG_GAUSS15 = 1 , GSL_INTEG_GAUSS21 = 2 , GSL_INTEG_GAUSS31 = 3 , GSL_INTEG_GAUSS41 = 4 , GSL_INTEG_GAUSS51 = 5 , GSL_INTEG_GAUSS61 = 6 } |
Variables | |
static Roo_reg_AGKInteg1D | instance |
static const double | wgA [4] |
static const double | wgB [5] |
static const double | wgC [8] |
static const double | wgD [11] |
static const double | wgE [13] |
static const double | wgF [15] |
static const double | wgkA [8] |
static const double | wgkB [11] |
static const double | wgkC [16] |
static const double | wgkD [21] |
static const double | wgkE [26] |
static const double | wgkF [31] |
static const double | xgkA [8] |
static const double | xgkB [11] |
static const double | xgkC [16] |
static const double | xgkD [21] |
static const double | xgkE [26] |
static const double | xgkF [31] |
#define GSL_COERCE_DBL | ( | x | ) | (gsl_coerce_double(x)) |
Definition at line 414 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_EPSILON 2.2204460492503131e-16 |
Definition at line 387 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_MAX 1.7976931348623157e+308 |
Definition at line 386 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_MIN 2.2250738585072014e-308 |
Definition at line 385 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EBADTOL 13 /* user specified an invalid tolerance */ |
Definition at line 382 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EDIVERGE 6 |
Definition at line 393 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 380 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EFAILED 5 |
Definition at line 392 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EINVAL 2 |
Definition at line 389 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EMAXITER 3 |
Definition at line 390 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ENOMEM 8 /* malloc failed */ |
Definition at line 381 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EROUND 7 |
Definition at line 394 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ERROR | ( | a, | |
b | |||
) | oocoutE(nullptr,Integration) << "RooAdaptiveGaussKronrodIntegrator1D::integral() ERROR: " << a << endl ; return b ; |
Definition at line 384 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 396 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ESING 4 |
Definition at line 391 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ETOL 14 /* failed to reach the specified tolerance */ |
Definition at line 383 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 68 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 398 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_SUCCESS 0 |
Definition at line 379 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
typedef struct gsl_function_struct gsl_function |
Definition at line 67 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
typedef void gsl_integration_rule(const gsl_function *f, double a, double b, double *result, double *abserr, double *defabs, double *resabs) |
Definition at line 425 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
anonymous enum |
Enumerator | |
---|---|
GSL_INTEG_GAUSS15 | |
GSL_INTEG_GAUSS21 | |
GSL_INTEG_GAUSS31 | |
GSL_INTEG_GAUSS41 | |
GSL_INTEG_GAUSS51 | |
GSL_INTEG_GAUSS61 |
Definition at line 460 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1789 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 408 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qag | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
int | key, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 750 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qagi | ( | gsl_function * | f, |
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 2023 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qagil | ( | gsl_function * | f, |
double | b, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 2066 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qagiu | ( | gsl_function * | f, |
double | a, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 2115 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
int gsl_integration_qags | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double | epsabs, | ||
double | epsrel, | ||
size_t | limit, | ||
gsl_integration_workspace * | workspace, | ||
double * | result, | ||
double * | abserr | ||
) |
Definition at line 2000 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qcheb | ( | gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | cheb12, | ||
double * | cheb24 | ||
) |
void gsl_integration_qk | ( | const int | n, |
const double | xgk[], | ||
const double | wg[], | ||
const double | wgk[], | ||
double | fv1[], | ||
double | fv2[], | ||
const gsl_function * | f, | ||
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1024 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk15 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1142 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk21 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1200 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk31 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1270 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk41 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1352 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk51 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1449 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_qk61 | ( | const gsl_function * | f, |
double | a, | ||
double | b, | ||
double * | result, | ||
double * | abserr, | ||
double * | resabs, | ||
double * | resasc | ||
) |
Definition at line 1556 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
gsl_integration_workspace * gsl_integration_workspace_alloc | ( | const size_t | n | ) |
Definition at line 1567 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_workspace_free | ( | gsl_integration_workspace * | w | ) |
Definition at line 1669 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 400 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2045 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2093 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1703 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 493 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1774 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2142 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1742 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 800 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 2155 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 1806 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 527 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 992 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 1687 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 688 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Glue function interacing to GSL code.
Definition at line 301 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 514 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 727 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 707 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 1987 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 633 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 151 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1121 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1174 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1237 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1312 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1399 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1501 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1129 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1183 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1249 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1326 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1416 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1520 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1106 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1156 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1214 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1284 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1366 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1463 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.