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