FunctionMathFindMinimum(FuncDouble, Double, Double) Method

Minimizes a function in the vicinity of a given point.

Definition

Namespace: Meta.Numerics.Analysis
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static Extremum FindMinimum(
	Func<double, double> f,
	double x
)

Parameters

f  FuncDouble, Double
The function.
x  Double
A point suspected to be near the minimum. The search begins at this point.

Return Value

Extremum
The minimum.

Exceptions

ArgumentNullExceptionf is null.
NonconvergenceExceptionMore than the maximum allowed number of function evaluations occurred without a minimum being determined.

See Also