Function Math.Integrate(Func<Double, Double, Double>, Double, Double, Double, Double) Method
Numerically integrates a function of two variables over a rectangular region.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
An approximation of the definite integral of integrand over a rectangle from xLowerBound to xUpperBound in the X direction, and from yLowerBound to yUpperBound in the Y direction.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static double Integrate(
this Func<double, double, double> integrand,
double xLowerBound,
double xUpperBound,
double yLowerBound,
double yUpperBound
)
Parameters
- integrand Func<Double, Double, Double>
- A delegate that represents a function of two variables that specifies the function to integrate.
- xLowerBound Double
- The lower limit of the integration region in the X direction.
- xUpperBound Double
- The upper limit of the integration region in the X direction.
- yLowerBound Double
- The lower limit of the integration region in the Y direction.
- yUpperBound Double
- The upper limit of the integration region in the Y direction.
Return Value
DoubleAn approximation of the definite integral of integrand over a rectangle from xLowerBound to xUpperBound in the X direction, and from yLowerBound to yUpperBound in the Y direction.