Click or drag to resize
DigitalRuneSimpsonIntegratorFIntegrate Method
Integrates the specified function within the given interval.

Namespace: DigitalRune.Mathematics.Analysis
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public override float Integrate(
	Func<float, float> function,
	float lowerBound,
	float upperBound
)

Parameters

function
Type: SystemFuncSingle, Single
The function.
lowerBound
Type: SystemSingle
The lower bound.
upperBound
Type: SystemSingle
The upper bound.

Return Value

Type: Single
The integral of the given function over the interval [lowerBound, upperBound].
Exceptions
ExceptionCondition
ArgumentNullExceptionfunction is .
See Also