Click or drag to resize

FunctionMath.FindMinimum Method (Func<Double, Double>, Double)

Minimizes 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 FindMinimum(
	Func<double, double> f,
	double x
)

Parameters

f
Type: System.Func<Double, Double>
The function.
x
Type: System.Double
A point suspected to be near the minimum. The search begins at this point.

Return Value

Type: Extremum
The minimum.
Exceptions
ExceptionCondition
ArgumentNullExceptionf is null.
NonconvergenceExceptionMore than the maximum allowed number of function evaluations occurred without a minimum being determined.
See Also