Adaptive Integrator<T>.Integrate Method
Definition
Namespace: Numerics.NET.Calculus.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
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( | Numerically integrates a function of one variable. |
Integrate(Func<T, T>, T, T, T[])
Numerically integrates a function of one variable.
public T Integrate(
Func<T, T> integrand,
T lowerBound,
T upperBound,
T[] singularities
)
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.
- singularities T[]
- A T array containing the points where the integration might encounter difficulties.
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 AlgorithmStatus property to verify that the algorithm terminated normally.
Depending on the nature of the integrand and the desired accuracy, this operation may take a long time to complete.
If the SetSingularities(T[]) method has been called with at least one parameter, then Extrapolation is always used.