Minimizes the given function near the given starting point.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public DoubleVector Minimize(
	MultiVariableFunction f,
	DoubleVector x
)
Visual Basic (Declaration)
Public Function Minimize ( _
	f As MultiVariableFunction, _
	x As DoubleVector _
) As DoubleVector
Visual C++
public:
virtual DoubleVector^ Minimize(
	MultiVariableFunction^ f, 
	DoubleVector^ x
) sealed

Parameters

f
Type: CenterSpace.NMath.Analysis..::.MultiVariableFunction
The function to minimize.
x
Type: CenterSpace.NMath.Core..::.DoubleVector
The starting point.

Return Value

The local minimum of function near the point, p.

Implements

IMultiVariableMinimizer..::.Minimize(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