Click or drag to resize
DigitalRuneRombergIntegratorDIntegrate 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 double Integrate(
	Func<double, double> function,
	double lowerBound,
	double upperBound
)

Parameters

function
Type: SystemFuncDouble, Double
The function.
lowerBound
Type: SystemDouble
The lower bound.
upperBound
Type: SystemDouble
The upper bound.

Return Value

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