MultiFunctionMathFindLocalMaximum(FuncIReadOnlyListDouble, Double, IReadOnlyListDouble) Method

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

Definition

Namespace: Meta.Numerics.Analysis
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static MultiExtremum FindLocalMaximum(
	Func<IReadOnlyList<double>, double> function,
	IReadOnlyList<double> start
)

Parameters

function  FuncIReadOnlyListDouble, Double
The multi-dimensional function to maximize.
start  IReadOnlyListDouble
The starting location for the search.

Return Value

MultiExtremum
The local maximum.

Exceptions

ArgumentNullExceptionfunction, start is .
NonconvergenceExceptionThe number of function evaluations required exceeded the evaluation budget.

See Also