Click or drag to resize

MultiFunctionMath.FindLocalMaximum Method (Func<IReadOnlyList<Double>, Double>, IReadOnlyList<Double>)

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: System.Func<IReadOnlyList<Double>, Double>
The multi-dimensional function to maximize.
start
Type: System.Collections.Generic.IReadOnlyList<Double>
The starting location for the search.

Return Value

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