FunctionMathFindMaximum Method (FuncDouble, Double, Double) |
Maximizes a function in the vicinity of a given point.
Namespace:
Meta.Numerics.Analysis
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static Extremum FindMaximum(
Func<double, double> f,
double x
)
Public Shared Function FindMaximum (
f As Func(Of Double, Double),
x As Double
) As Extremum
public:
static Extremum^ FindMaximum(
Func<double, double>^ f,
double x
)
static member FindMaximum :
f : Func<float, float> *
x : float -> Extremum
Parameters
- f
- Type: SystemFuncDouble, Double
The function. - x
- Type: SystemDouble
A point suspected to be near the maximum. The search begins at this point.
Return Value
Type:
ExtremumThe maximum.
Exceptions See Also