Piecewise Curve.Integral Method
Gets the definite integral of the curve between the
specified X-coordinates.
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
C#
The definite integral of the curve between lowerBound and upperBound.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
public override double Integral(
double lowerBound,
double upperBound
)Parameters
- lowerBound Double
- The lower bound of the integration interval.
- upperBound Double
- The upper bound of the integration interval.
Return Value
DoubleThe definite integral of the curve between lowerBound and upperBound.
Remarks
All piecewise curves call the IntegrateOnInterval methods on each interval or part of an interval between lowerBound and upperBound. If an integrator function was not supplied, the integral is evaluated numerically.