IntegrationBaseqags Method |
Adaptive integration routine based on the GSL/QUADPACK qags algorithm.
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected static GSL_ERROR? qags(
Func<double, double> f,
double a,
double b,
double epsabs,
double epsrel,
int limit,
gsl_integration_workspace workspace,
out double result,
out double abserr,
gsl_integration_rule q,
bool bDebug
)
Parameters
- f FuncDouble, Double
- Function to integrate.
- a Double
- Left endpoint of the integration interval.
- b Double
- Right endpoint of the integration interval.
- epsabs Double
- Absolute error tolerance.
- epsrel Double
- Relative error tolerance.
- limit Int32
- Maximum number of subintervals/iterations allowed.
- workspace gsl_integration_workspace
- Workspace object to store subintervals and errors.
- result Double
- Computed integral result (output).
- abserr Double
- Estimated absolute error for result (output).
- q gsl_integration_rule
- Quadrature rule delegate used to evaluate subintervals.
- bDebug Boolean
- When true additional debug information will be included in thrown errors.
Return Value
GSL_ERRORA
GSL_ERROR when an error occurred, otherwise
null on success.
See Also