PiecewiseCurve.IntegrateOnInterval Method

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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)

Returns the value of the integral over the interval with the specified index.
C#
protected virtual double IntegrateOnInterval(
	int index
)

Parameters

index  Int32
Zero-based index of the interval.

Return Value

Double
The integral of the curve on the specified interval.

IntegrateOnInterval(Int32, Double, Double)

Returns the integral of the curve over a single interval.
C#
protected virtual 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