NumericalIntegrator2D.Integrate Method

Definition

Namespace: Extreme.Mathematics.Calculus
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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, Double, Double, ParallelOptions) Numerically integrates a function of one variable.

NumericalIntegrator2D.Integrate

Numerically integrates a function of one variable.
C#
public double Integrate()

Return Value

Double
An approximation of the definite integral for the integrator's current Integrand over the current region. .

Remarks

This method performs the actual numerical integration using the Integrand and integration region specified by the XLowerBound and XUpperBound in the X direction and YLowerBound and YUpperBound in the Y direction. After this method returns, inspect the Status property to verify that the algorithm terminated normally.

NumericalIntegrator2D.Integrate(ParallelOptions)

Numerically integrates a function of one variable.
C#
public double Integrate(
	ParallelOptions parallelOptions
)

Parameters

parallelOptions  ParallelOptions
A ParallelOptions value that specifies the parallel behavior of the algorithm.

Return Value

Double
An approximation of the definite integral for the integrator's current Integrand over the current region. .

Remarks

This method performs the actual numerical integration using the Integrand and integration region specified by the XLowerBound and XUpperBound in the X direction and YLowerBound and YUpperBound in the Y direction. After this method returns, inspect the Status property to verify that the algorithm terminated normally.

NumericalIntegrator2D.Integrate(Double, Double, Double, Double)

Numerically integrates a function of one variable.
C#
public double Integrate(
	double xLowerBound,
	double xUpperBound,
	double yLowerBound,
	double yUpperBound
)

Parameters

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

Double
An approximation of the definite integral of the Integrand in the region bounded by xLowerBound and xUpperBound in the X direction, and by yLowerBound and yUpperBound 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.

NumericalIntegrator2D.Integrate(Double, Double, Double, Double, ParallelOptions)

Numerically integrates a function of one variable.
C#
public double Integrate(
	double xLowerBound,
	double xUpperBound,
	double yLowerBound,
	double yUpperBound,
	ParallelOptions parallelOptions
)

Parameters

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.
parallelOptions  ParallelOptions
A ParallelOptions value that specifies the parallel behavior of the algorithm.

Return Value

Double
An approximation of the definite integral of the Integrand in the region bounded by xLowerBound and xUpperBound in the X direction, and by yLowerBound and yUpperBound 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.

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

Numerically integrates a function of one variable.
C#
public double Integrate(
	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

Double
An approximation of the definite integral of Integrand in the region bounded by xLowerBound and xUpperBound in the X direction, and by yLowerBound and yUpperBound 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

ArgumentNullExceptionintegrand is null.

NumericalIntegrator2D.Integrate(Func<Double, Double, Double>, Double, Double, Double, Double, ParallelOptions)

Numerically integrates a function of one variable.
C#
public double Integrate(
	Func<double, double, double> integrand,
	double xLowerBound,
	double xUpperBound,
	double yLowerBound,
	double yUpperBound,
	ParallelOptions parallelOptions
)

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.
parallelOptions  ParallelOptions
A ParallelOptions value that specifies the parallel behavior of the algorithm.

Return Value

Double
An approximation of the definite integral of Integrand in the region bounded by xLowerBound and xUpperBound in the X direction, and by yLowerBound and yUpperBound 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

ArgumentNullExceptionintegrand is null.

See Also