| IntegratorFIntegrate Method |
Integrates the specified function within the given interval.
Namespace: DigitalRune.Mathematics.AnalysisAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public abstract float Integrate(
Func<float, float> function,
float lowerBound,
float upperBound
)
Public MustOverride Function Integrate (
function As Func(Of Single, Single),
lowerBound As Single,
upperBound As Single
) As Single
public:
virtual float Integrate(
Func<float, float>^ function,
float lowerBound,
float upperBound
) abstract
abstract Integrate :
function : Func<float32, float32> *
lowerBound : float32 *
upperBound : float32 -> float32
Parameters
- function
- Type: SystemFuncSingle, Single
The function. - lowerBound
- Type: SystemSingle
The lower bound. - upperBound
- Type: SystemSingle
The upper bound.
Return Value
Type:
Single
The integral of the given function over the interval
[
lowerBound,
upperBound].
See Also