PiecewiseLinearCurve.IntegrateOnInterval Method

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

IntegrateOnInterval(Int32) Returns the value of the integral over the interval with the specified index.
IntegrateOnInterval(Int32, Double, Double) Returns the integral of the curve over a single interval.

IntegrateOnInterval(Int32, Double, Double)

Returns the integral of the curve over a single interval.
C#
protected override double IntegrateOnInterval(
	int index,
	double lowerBound,
	double upperBound
)

Parameters

index  Int32
The zero-based index of the interval.
lowerBound  Double
The lower bound of the integration interval.
upperBound  Double
The upper bound of the integration interval.

Return Value

Double
The integral of the curve on the specified interval.

See Also