Click or drag to resize

MultiFunctionMathFindLocalMinimum Method (FuncIReadOnlyListDouble, Double, IReadOnlyListDouble)

Finds a local minimum of a multi-dimensional function in the vicinity of the given starting location.

Namespace:  Meta.Numerics.Analysis
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static MultiExtremum FindLocalMinimum(
	Func<IReadOnlyList<double>, double> function,
	IReadOnlyList<double> start
)

Parameters

function
Type: SystemFuncIReadOnlyListDouble, Double
The multi-dimensional function to minimize.
start
Type: System.Collections.GenericIReadOnlyListDouble
The starting location for the search.

Return Value

Type: MultiExtremum
The local minimum.
Exceptions
ExceptionCondition
ArgumentNullExceptionfunction, start is .
NonconvergenceExceptionThe number of function evaluations required exceeded the evaluation budget.
Remarks

For two dimensions, the default evaluation settings target a precision of about 10-8 and allow up to about 1000 function evaluations. For increasing dimensions, these requirements are gradually relaxed.

See Also