Click or drag to resize

GaussKronrodPattersonIntegrate Method (FuncDouble, Double, Double, Double)

Calculates integral.

Namespace:  FinMath.Integration
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public double Integrate(
	Func<double, double> f,
	double a,
	double b
)

Parameters

f
Type: SystemFuncDouble, Double
The function to integrate.
a
Type: SystemDouble
Lower bound.
b
Type: SystemDouble
Upper bound.

Return Value

Type: Double
Returns integral estimation.
See Also