Click or drag to resize

TrustRegionMinimizerMinimize(FuncDoubleVector, DoubleVector, DoubleVector, Int32) Method

Minimizes the given function near the given starting point.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleVector Minimize(
	Func<DoubleVector, DoubleVector> f,
	DoubleVector x,
	int ydim
)

Parameters

f  FuncDoubleVector, DoubleVector
The function to minimize.
x  DoubleVector
A starting point.
ydim  Int32
The size of the range.

Return Value

DoubleVector
The local minimum of function near the point, x.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the problem is underconstrained (ydim < x.Length).
Remarks
The solution is unbounded, and a numerical approximation of the partial derivatives is computed.
See Also