Click or drag to resize

BrentFindExtremumSetInitialBracketingPoints Method (Double, Double, Double)

Defines the initial bracketing interval using the provided variable values.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void SetInitialBracketingPoints(
	double a,
	double b,
	double c
)

Parameters

a
Type: SystemDouble
The value of the independent variable at one of the limits of the bracketing interval.
b
Type: SystemDouble
The value of the independent variable between the limits of the bracketing interval.
c
Type: SystemDouble
The value of the independent variable at one of the limits of the bracketing interval.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The two end points must bracket the middle point.
ArgumentOutOfRangeException The middle point does not indicate a local extremum.
Remarks
When evaluated at the three values of the independent variable provided, a, b, and c, the function must indicate a local extremum such that at least one of the evaluated values is not equal to the other two, and Function(b) is either greater than or equal to or less than or equal to both Function(a) and Function(c).
See Also