Cubic Spline.Integrate On Interval Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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)
Returns the value of the integral over the interval with the specified index.
protected override double IntegrateOnInterval(
int index
)
Parameters
- index Int32
- Zero-based index of the interval.
Return Value
DoubleThe integral of the curve on the specified 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.