Function Math.Integrate(Func<Double, Double>, Double, Double) Method
Numerically integrates a function of one variable.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
An approximation of the definite integral of integrand from lowerBound to upperBound.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static double Integrate(
this Func<double, double> integrand,
double lowerBound,
double upperBound
)
Parameters
- integrand Func<Double, Double>
- A delegate that represents a function of one variable that specifies the function to integrate.
- lowerBound Double
- The lower limit of the integration interval.
- upperBound Double
- The upper limit of the integration interval.
Return Value
DoubleAn approximation of the definite integral of integrand from lowerBound to upperBound.