OneDimensionalOptimizer.FindBracket Method

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

FindBracket() Finds an interval that brackets the extremum, starting from the interval [0,1].
FindBracket(Double) Finds an interval that brackets the extremum, starting from an interval of unit width centered around the specified point.
FindBracket(Double, Double) Finds an interval that brackets the extremum, starting from an interval with the specified bounds.
FindBracket(Double, Double, Double) Finds an interval that brackets the extremum, starting from an interval with the specified bounds and interior point.

FindBracket

Finds an interval that brackets the extremum, starting from the interval [0,1].
C#
public void FindBracket()

FindBracket(Double)

Finds an interval that brackets the extremum, starting from an interval of unit width centered around the specified point.
C#
public void FindBracket(
	double interiorPoint
)

Parameters

interiorPoint  Double
The interior point of the initial bracketing interval.

Remarks

The lower and upper bounds of the bracketing interval are set to 0.5 below and above the interior point.

FindBracket(Double, Double)

Finds an interval that brackets the extremum, starting from an interval with the specified bounds.
C#
public void FindBracket(
	double lowerBound,
	double upperBound
)

Parameters

lowerBound  Double
The lower bound of the initial bracketing interval.
upperBound  Double
The upper bound of the initial bracketing interval.

Remarks

The internal point of the initial bracketing interval is situated between lowerBound and upperBound so that the ratio of the distances to each is equal to the GoldenRatio.

FindBracket(Double, Double, Double)

Finds an interval that brackets the extremum, starting from an interval with the specified bounds and interior point.
C#
public void FindBracket(
	double lowerBound,
	double upperBound,
	double interiorPoint
)

Parameters

lowerBound  Double
The lower bound of the initial bracketing interval.
upperBound  Double
The upper bound of the initial bracketing interval.
interiorPoint  Double
The interior point of the initial bracketing interval.

See Also