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
)
Public Shared Function FindLocalMaximum (
function As Func(Of IReadOnlyList(Of Double), Double),
start As IReadOnlyList(Of Double)
) As MultiExtremum
public:
static MultiExtremum^ FindLocalMaximum(
Func<IReadOnlyList<double>^, double>^ function,
IReadOnlyList<double>^ start
)
static member FindLocalMaximum :
function : Func<IReadOnlyList<float>, float> *
start : IReadOnlyList<float> -> MultiExtremum
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:
MultiExtremumThe local maximum.
Exceptions See Also