Click or drag to resize

MultiFunctionMathFindLocalMaximum Method (FuncIReadOnlyListDouble, Double, IReadOnlyListDouble)

Finds a local maximum 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 FindLocalMaximum(
	Func<IReadOnlyList<double>, double> function,
	IReadOnlyList<double> start
)

Parameters

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

Return Value

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