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

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Overrides Function Integral ( _
	lowerBound As Double, _
	upperBound As Double _
) As Double
C#
public override double Integral (
	double lowerBound,
	double upperBound
)
C++
public:
virtual double Integral (
	double lowerBound, 
	double upperBound
) override

Parameters

lowerBound (System.Double)
The lower bound of the integration interval.
upperBound (System.Double)
The upper bound of the integration interval.

Return Value

The definite integral of the curve between lowerBound and upperBound.

Remarks

All piecewise curves call the IntegrateOnInterval(Int32, Double, Double) 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.