Piecewise Constant Curve.Integrate On Interval Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Integrate | Returns the value of the integral over the interval with the specified index. |
Integrate | Returns the integral of the curve over a single interval. |
IntegrateOnInterval(Int32, Double, Double)
Returns the integral of the curve over a single interval.
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
DoubleThe integral of the curve on the specified interval.