|
Deterministic Gaussian Sampling
|
helper class to use GSL adaptive Gauss-Kronrod quadrature More...
#include <gsl_quadrature_adaptive_gauss_kronrod.h>
Public Types | |
| using | fT = double(*)(double x, void *params) |
Public Member Functions | |
| GslQuadratureAdaptiveGaussKronrod (double epsabs=0.00, double epsrel=1e-10) | |
| Construct a new Gsl Quadrature Adaptive Gauss Kronrod object. | |
| ~GslQuadratureAdaptiveGaussKronrod () | |
| Destroy the Gsl Quadrature Adaptive Gauss Kronrod object. | |
| bool | integrate (fT f, void *params, double lowerLimit, double upperLimit, double *result, double *abserr) const |
| perform the integration using GSL adaptive Gauss-Kronrod | |
helper class to use GSL adaptive Gauss-Kronrod quadrature
|
inline |
Construct a new Gsl Quadrature Adaptive Gauss Kronrod object.
| epsabs | absolute error tolerance |
| epsrel | relative error tolerance |
|
inline |
perform the integration using GSL adaptive Gauss-Kronrod
| f | function to be integrated |
| params | parameters for the function to be integrated |
| lowerLimit | lower limit of the integration |
| upperLimit | upper limit of the integration |
| result | result of the integration |
| abserr | absolute error of the integration |