integrate.hpp
Go to the documentation of this file.
74 double integrate(F f, double x_lo, double x_hi, double precision_abs,double precision_rel, int n, Integration t) {
86 gsl_integration_qng(gsl_f, x_lo, x_hi, precision_abs, precision_rel, &ret, &error, &number_of_eval);break;
88 gsl_integration_qag(gsl_f, x_lo, x_hi, precision_abs, precision_rel, n, 4, workspace, &ret, &error);break; // 4 means it is a 41 point rule
90 gsl_integration_qags (gsl_f, x_lo, x_hi, precision_abs, precision_rel, n, workspace, &ret, &error);break;
94 gsl_integration_qagil(gsl_f, x_lo, precision_abs, precision_rel, n, workspace, &ret, &error );break;
96 gsl_integration_qagiu(gsl_f, x_hi, precision_abs, precision_rel, n, workspace, &ret, &error );break;
adaptive Gauss-Kronrod with Singularities
File contains adapter of GSL Function.
Definition: cadHoliday.cpp:3
Class implements adapter for gsl_function.
Definition: GslFunctionAdapter.hpp:25
double integrate(F f, double x_lo, double x_hi, double precision_abs, double precision_rel, int n, Integration t)
Function calculates integral.
Definition: integrate.hpp:74
non adaptive Gauss-Kronrod
adaptive Gauss-Kronrod solving improper integral with infinity as a upper limit of integration ...
adaptive Gauss-Kronrod on infinite range
adaptive Gauss-Kronrod solving improper integral with infinity as a lower limit of integration ...
adaptive Gauss-Kronrod