Click or drag to resize

ConjugateGradientMinimizerMinimize(MultiVariableFunction, MultiVariableFunction, DoubleVector) Method

Note: This API is now obsolete.

Minimizes the given function near the given starting point, using the given array of partial derivatives.

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

Parameters

f  MultiVariableFunction
The function to minimize.
df  MultiVariableFunction
The partial derivatives of f.
x  DoubleVector
A starting point.

Return Value

DoubleVector
The local minimum of function near the point, p.

Implements

IMultiVariableDMinimizerMinimize(MultiVariableFunction, MultiVariableFunction, DoubleVector)
Remarks
The minimization will use the unit vectors for the starting directions. 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