Click or drag to resize

PowellMinimizerMinimize(MultiVariableFunction, DoubleVector, DoubleMatrix) Method

Note: This API is now obsolete.

Minimizes the given function near the given starting point.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[ObsoleteAttribute("This method is obsolete. Call method Minimize( DoubleFunctional f, DoubleVector p, DoubleMatrix D )")]
public DoubleVector Minimize(
	MultiVariableFunction f,
	DoubleVector p,
	DoubleMatrix D
)

Parameters

f  MultiVariableFunction
The function to minimize.
p  DoubleVector
The starting point.
D  DoubleMatrix
An initial direction set.

Return Value

DoubleVector
The local minimum of function near the point, x using the initial direction set in D.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThe direction set must contain a point for each dimension. The dimension of the points must match the dimension of the starting point.
Remarks
Iteration stops when either the estimated error is less than the tolerance, or the maximum number of iterations is reached. Setting the error tolerance to less than zero ensures that the maximum number of iterations is always reached.
See Also