#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 |
Namespaces | |
namespace | ROOT |
This file contains a specialised ROOT message handler to test for diagnostic in unit tests. | |
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 420 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_EPSILON 2.2204460492503131e-16 |
Definition at line 393 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_MAX 1.7976931348623157e+308 |
Definition at line 392 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_DBL_MIN 2.2250738585072014e-308 |
Definition at line 391 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EBADTOL 13 /* user specified an invalid tolerance */ |
Definition at line 388 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EDIVERGE 6 |
Definition at line 399 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 386 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EFAILED 5 |
Definition at line 398 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EINVAL 2 |
Definition at line 395 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EMAXITER 3 |
Definition at line 396 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ENOMEM 8 /* malloc failed */ |
Definition at line 387 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_EROUND 7 |
Definition at line 400 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ERROR | ( | a, | |
b | |||
) | oocoutE(nullptr,Integration) << "RooAdaptiveGaussKronrodIntegrator1D::integral() ERROR: " << a << endl ; return b ; |
Definition at line 390 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 402 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ESING 4 |
Definition at line 397 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_ETOL 14 /* failed to reach the specified tolerance */ |
Definition at line 389 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 71 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 404 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
#define GSL_SUCCESS 0 |
Definition at line 385 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
typedef struct gsl_function_struct gsl_function |
Definition at line 70 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 431 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 466 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1769 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 414 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 754 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 1999 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 2042 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 2091 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 1976 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 1010 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 1127 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 1184 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 1253 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 1334 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 1430 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 1536 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
gsl_integration_workspace * gsl_integration_workspace_alloc | ( | const size_t | n | ) |
Definition at line 1546 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
void gsl_integration_workspace_free | ( | gsl_integration_workspace * | w | ) |
Definition at line 1649 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 406 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2021 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2069 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1683 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 499 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1754 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 2118 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1722 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 804 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 2131 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 1786 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 533 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 978 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 1667 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 692 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Glue function interacing to GSL code.
Definition at line 308 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 520 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 731 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 711 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
Definition at line 1963 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
inlinestatic |
Definition at line 637 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 154 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1106 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1158 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1220 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1294 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1380 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1481 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1114 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1167 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1232 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1308 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1397 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1500 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1091 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1140 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1197 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1266 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1347 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.
|
static |
Definition at line 1443 of file RooAdaptiveGaussKronrodIntegrator1D.cxx.