Numerically integrates a function of one variable.

Namespace: Extreme.Mathematics.Calculus
Assembly:   Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0

Syntax

Visual Basic (Declaration)
Public Function Integrate ( _
	integrand As RealFunction, _
	lowerBound As Double, _
	upperBound As Double _
) As Double
C#
public double Integrate (
	RealFunction integrand,
	double lowerBound,
	double upperBound
)
Visual C++
public:
double Integrate (
	RealFunction^ integrand, 
	double lowerBound, 
	double upperBound
)

Parameters

integrand
Extreme.Mathematics.RealFunction
A RealFunction that specifies the function to integrate.
lowerBound
System.Double
The lower limit of the integration interval.
upperBound
System.Double
The upper limit of the integration interval.

Return Value

An approximation of the definite integral of integrand from lowerBound to upperBound.

Remarks

This method performs the actual numerical integration. After this method returns, inspect the Status property to verify that the algorithm terminated normally.