Click or drag to resize
Accord.NET (logo)

InfiniteAdaptiveGaussKronrodIntegrate Method (FuncDouble, Double)

Computes the area under the integral for the given function, in the given integration interval, using the Infinite Adaptive Gauss Kronrod algorithm.

Namespace:  Accord.Math.Integration
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double Integrate(
	Func<double, double> f
)
Request Example View Source

Parameters

f
Type: SystemFuncDouble, Double
The unidimensional function whose integral should be computed.

Return Value

Type: Double
The integral's value in the current interval.
See Also