Numerically integrates a function of one variable.
Namespace:
Extreme.Mathematics.Calculus
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public double Integrate(
Func<double, double> integrand,
double lowerBound,
double upperBound
)
Public Function Integrate (
integrand As Func(Of Double, Double),
lowerBound As Double,
upperBound As Double
) As Double
public:
double Integrate(
Func<double, double>^ integrand,
double lowerBound,
double upperBound
)
member Integrate :
integrand : Func<float, float> *
lowerBound : float *
upperBound : float -> float
Parameters
- integrand
- Type: SystemFuncDouble, Double
A delegate that represents a function of one variable
that specifies the function to integrate. - lowerBound
- Type: SystemDouble
The lower limit of the integration
interval. - upperBound
- Type: SystemDouble
The upper limit of the integration
interval.
Return Value
Type:
DoubleAn approximation of the definite integral of
integrand from
lowerBound to
upperBound.
This method performs the actual numerical integration. After
this method returns, inspect the Status
property to verify that the algorithm terminated normally.
Reference