Minimizes the function within the interval contained in the given Bracket.

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

Syntax

C#
double Minimize(
	Bracket bracket
)
Visual Basic (Declaration)
Function Minimize ( _
	bracket As Bracket _
) As Double
Visual C++
double Minimize(
	Bracket^ bracket
)

Parameters

bracket
Type: CenterSpace.NMath.Analysis..::.Bracket
A bracket containing a minimum.

Return Value

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