| IntegratorDIntegrate 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 double Integrate(
Func<double, double> function,
double lowerBound,
double upperBound
)
Public MustOverride Function Integrate (
function As Func(Of Double, Double),
lowerBound As Double,
upperBound As Double
) As Double
public:
virtual double Integrate(
Func<double, double>^ function,
double lowerBound,
double upperBound
) abstract
abstract Integrate :
function : Func<float, float> *
lowerBound : float *
upperBound : float -> float
Parameters
- function
- Type: SystemFuncDouble, Double
The function. - lowerBound
- Type: SystemDouble
The lower bound. - upperBound
- Type: SystemDouble
The upper bound.
Return Value
Type:
Double
The integral of the given function over the interval
[
lowerBound,
upperBound].
See Also