Click or drag to resize

IntegrateOnClosedInterval(FuncDouble, Double, Double, Double, Double) Method

Approximation of the definite integral of an analytic smooth function on a closed interval.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double OnClosedInterval(
	Func<double, double> f,
	double intervalBegin,
	double intervalEnd,
	double targetAbsoluteError
)

Parameters

f  FuncDouble, Double
The analytic smooth function to integrate.
intervalBegin  Double
Where the interval starts, inclusive and finite.
intervalEnd  Double
Where the interval stops, inclusive and finite.
targetAbsoluteError  Double
The expected relative accuracy of the approximation.

Return Value

Double
Approximation of the finite integral in the given interval.
See Also