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

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 between LowerBound and UpperBound. .

Remarks

This method performs the actual numerical integration using the Integrand and integration interval specified by the LowerBound and UpperBound properties. After this method returns, inspect the Status property to verify that the algorithm terminated normally.

Integrate(ParallelOptions)

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

Parameters

parallelOptions  ParallelOptions
 

Return Value

Double
An approximation of the definite integral for the integrator's current Integrand between LowerBound and UpperBound. .

Remarks

The configuration for the parallel behavior of the integration.

This method performs the actual numerical integration using the Integrand and integration interval specified by the LowerBound and UpperBound properties. After this method returns, inspect the Status property to verify that the algorithm terminated normally.

Integrate(Double, Double)

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

Parameters

lowerBound  Double
The lower limit of the integration interval.
upperBound  Double
The upper limit of the integration interval.

Return Value

Double
An approximation of the definite integral of the Integrand from lowerBound to upperBound.

Remarks

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

Integrate(Double, Double, ParallelOptions)

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

Parameters

lowerBound  Double
The lower limit of the integration interval.
upperBound  Double
The upper limit of the integration interval.
parallelOptions  ParallelOptions
The configuration for the parallel behavior of the integration.

Return Value

Double
An approximation of the definite integral of the Integrand from lowerBound to upperBound.

Remarks

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

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

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

Double
An approximation of the definite integral of integrand from lowerBound to upperBound.

Remarks

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

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

Numerically integrates a function of one variable.
C#
public double Integrate(
	Func<double, double> integrand,
	double lowerBound,
	double upperBound,
	ParallelOptions parallelOptions
)

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.
parallelOptions  ParallelOptions
The configuration for the parallel behavior of the integration.

Return Value

Double
An approximation of the definite integral of integrand from lowerBound to upperBound.

Remarks

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

See Also