| BrentMinimizerMinimize(OneVariableFunction, Interval) Method |
Minimizes the given function within the given interval.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public double Minimize(
OneVariableFunction f,
Interval interval
)
Public Function Minimize (
f As OneVariableFunction,
interval As Interval
) As Double
public:
virtual double Minimize(
OneVariableFunction^ f,
Interval^ interval
) sealed
abstract Minimize :
f : OneVariableFunction *
interval : Interval -> float
override Minimize :
f : OneVariableFunction *
interval : Interval -> float
Parameters
- f OneVariableFunction
- The function to minimize.
- interval Interval
- The interval.
Return Value
Double
The minimum of
function over the interval from
a to
c.
Implements
IOneVariableMinimizerMinimize(OneVariableFunction, Interval)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