Click or drag to resize

IOneVariableMinimizerMinimize(OneVariableFunction, Interval) Method

Minimizes the given function within the given interval.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
double Minimize(
	OneVariableFunction f,
	Interval interval
)

Parameters

f  OneVariableFunction
The function to minimize.
interval  Interval
Interval.

Return Value

Double
The minimum of function over 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