FunctionMathFindMaximum Method (FuncDouble, Double, Interval) |
Maximizes a function on the given interval.
Namespace:
Meta.Numerics.Analysis
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static Extremum FindMaximum(
Func<double, double> f,
Interval r
)
Public Shared Function FindMaximum (
f As Func(Of Double, Double),
r As Interval
) As Extremum
public:
static Extremum^ FindMaximum(
Func<double, double>^ f,
Interval r
)
static member FindMaximum :
f : Func<float, float> *
r : Interval -> Extremum
Parameters
- f
- Type: SystemFuncDouble, Double
The function. - r
- Type: Meta.NumericsInterval
The interval.
Return Value
Type:
ExtremumThe maximum.
Exceptions See Also