NumericalIntegrator<T>.Integrate Method

Definition

Namespace: Numerics.NET.Calculus.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.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(T, T) Numerically integrates a function of one variable.
Integrate(Func<T, T>, T, T) Numerically integrates a function of one variable.
Integrate(T, T, ParallelOptions) Numerically integrates a function of one variable.
Integrate(Func<T, T>, T, T, ParallelOptions) Numerically integrates a function of one variable.

Integrate

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

Return Value

T
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 T Integrate(
	ParallelOptions parallelOptions
)

Parameters

parallelOptions  ParallelOptions
 

Return Value

T
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(T, T)

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

Parameters

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

Return Value

T
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<T, T>, T, T)

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

Parameters

integrand  Func<T, T>
A delegate that represents a function of one variable that specifies the function to integrate.
lowerBound  T
The lower limit of the integration interval.
upperBound  T
The upper limit of the integration interval.

Return Value

T
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(T, T, ParallelOptions)

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

Parameters

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

Return Value

T
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<T, T>, T, T, ParallelOptions)

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

Parameters

integrand  Func<T, T>
A delegate that represents a function of one variable that specifies the function to integrate.
lowerBound  T
The lower limit of the integration interval.
upperBound  T
The upper limit of the integration interval.
parallelOptions  ParallelOptions
The configuration for the parallel behavior of the integration.

Return Value

T
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