| IOneVariableDMinimizerMinimize(Bracket, OneVariableFunction) Method |
Minimizes the function within the interval contained in the given
Bracket.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax double Minimize(
Bracket bracket,
OneVariableFunction df
)
Function Minimize (
bracket As Bracket,
df As OneVariableFunction
) As Double
double Minimize(
Bracket^ bracket,
OneVariableFunction^ df
)
abstract Minimize :
bracket : Bracket *
df : OneVariableFunction -> float
Parameters
- bracket Bracket
- A bracket containing a minimum.
- df OneVariableFunction
- The first derivative of Bracket.Function.
Return Value
Double
The minimum of
bracket.Function over the interval from
bracket.Min to
bracket.Max.
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