Numerically integrates a function of two variables over a rectangular region.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static double Integrate(
this Func<double, double, double> integrand,
double xLowerBound,
double xUpperBound,
double yLowerBound,
double yUpperBound
)
<ExtensionAttribute>
Public Shared Function Integrate (
integrand As Func(Of Double, Double, Double),
xLowerBound As Double,
xUpperBound As Double,
yLowerBound As Double,
yUpperBound As Double
) As Double
public:
[ExtensionAttribute]
static double Integrate(
Func<double, double, double>^ integrand,
double xLowerBound,
double xUpperBound,
double yLowerBound,
double yUpperBound
)
[<ExtensionAttribute>]
static member Integrate :
integrand : Func<float, float, float> *
xLowerBound : float *
xUpperBound : float *
yLowerBound : float *
yUpperBound : float -> float
Parameters
- integrand
- Type: SystemFuncDouble, Double, Double
A delegate that represents a function of two variables
that specifies the function to integrate. - xLowerBound
- Type: SystemDouble
The lower limit of the integration region in the X direction. - xUpperBound
- Type: SystemDouble
The upper limit of the integration region in the X direction. - yLowerBound
- Type: SystemDouble
The lower limit of the integration region in the Y direction. - yUpperBound
- Type: SystemDouble
The upper limit of the integration region in the Y direction.
Return Value
Type:
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.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FuncDouble,
Double,
Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference