Repeated1DIntegrator2D.Integrate Method

Definition

Namespace: Numerics.NET.Calculus
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Integrate() Numerically integrates a function of one variable.
Integrate(ParallelOptions) Numerically integrates a function of one variable.
Integrate(Double, Double, Double, Double) Numerically integrates a function of one variable.
Integrate(Double, Double, Double, Double, ParallelOptions) Numerically integrates a function of one variable.
Integrate(Func<Double, Double, Double>, Double, Double, Double, Double) Numerically integrates a function of one variable.
Integrate(Func<Double, Double, Double>, Double, Double, Func<Double, Double>, Func<Double, Double>) Numerically integrates a function of one variable.
Integrate(Func<Double, Double, Double>, Double, Double, Double, Double, ParallelOptions) Numerically integrates a function of one variable.

Integrate(Func<Double, Double, Double>, Double, Double, Func<Double, Double>, Func<Double, Double>)

Numerically integrates a function of one variable.
C#
public double Integrate(
	Func<double, double, double> integrand,
	double xLowerBound,
	double xUpperBound,
	Func<double, double> yLowerBoundFunction,
	Func<double, double> yUpperBoundFunction
)

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.
yLowerBoundFunction  Func<Double, Double>
The function that computes the lower limit of the integration region in the Y direction.
yUpperBoundFunction  Func<Double, Double>
The function that computes the upper limit of the integration region in the Y direction.

Return Value

Double
An approximation of the definite integral of integrand from xLowerBound to xUpperBound in the X-direction, and the bounds computed by yLowerBoundFunction and yUpperBoundFunction in the Y-direction.

Remarks

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

Exceptions

ArgumentNullException

integrand is null.

See Also