Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.Curves Namespace > Curve Class > Methods


Extreme Optimization Mathematics Library for .NET

Curve.Integral Method 

Gets the definite integral of the curve between the specified X-coordinates.

[Visual Basic]
Overridable Public Function Integral( _
   ByVal lowerBound As Double, _
   ByVal upperBound As Double _
) As Double
[C#]
public virtual double Integral(
   double lowerBound,
   double upperBound
);

Parameters

lowerBound
The lower bound of the integration interval.
upperBound
The upper bound of the integration interval.

Return Value

The definite integral of the curve between lowerBound and upperBound.

Remarks

By default, the integral is approximated numerically by using an instance of the AdaptiveIntegrator class.

See Also

Curve Class | Extreme.Mathematics.Curves Namespace