QagiIntegrationIntegrate(FuncDouble, Double, Double, Double, Int32, Double, Double) Method |
Adaptive integration on infinite interval (-Infinity,+Infinity) using the integration rule and debug setting given in the constructor.
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public GSL_ERROR? Integrate(
Func<double, double> f,
double epsabs,
double epsrel,
int limit,
out double result,
out double abserr
)
Parameters
- f FuncDouble, Double
- Function to integrate.
- epsabs Double
- Specifies the expected absolute error of integration. Should be set to zero (0) if you specify a relative error.
- epsrel Double
- Specifies the expected relative error of integration. Should be set to zero (0) if you specify an absolute error.
- limit Int32
- Maximum number of subintervals used for integration.
- result Double
- On return, contains the integration result.
- abserr Double
- On return, contains the absolute error of integration.
Return Value
GSL_ERRORNull if successfull, otherwise the appropriate error code.
See Also