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#
public double Minimize(
	Bracket bracket
)
Visual Basic (Declaration)
Public Function Minimize ( _
	bracket As Bracket _
) As Double
Visual C++
public:
virtual double Minimize(
	Bracket^ bracket
) sealed

Parameters

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

Return Value

The minimum of bracket.Function over the interval bracket.Lower to bracket.Upper.

Implements

IOneVariableMinimizer..::.Minimize(Bracket)

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