Numerical Integrator<T>.Integrate Method
Definition
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Overload List
Integrate() | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate( | Numerically integrates a function of one variable. |
Integrate
public T Integrate()
Return Value
TAn 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)
public T Integrate(
ParallelOptions parallelOptions
)
Parameters
- parallelOptions ParallelOptions
Return Value
TAn 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(T, T)
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
TAn 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)
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
TAn 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)
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
TAn 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)
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
TAn 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.