Minimizes the given function near the given starting point.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
DoubleVector Minimize( MultiVariableFunction f, DoubleVector x ) |
| Visual Basic (Declaration) |
|---|
Function Minimize ( _ f As MultiVariableFunction, _ x As DoubleVector _ ) As DoubleVector |
| Visual C++ |
|---|
DoubleVector^ Minimize( MultiVariableFunction^ f, DoubleVector^ x ) |
Parameters
- f
- Type: CenterSpace.NMath.Analysis..::.MultiVariableFunction
The function to minimize.
- x
- Type: CenterSpace.NMath.Core..::.DoubleVector
A starting point.
Return Value
The local minimum of function near the point, x.
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.