Click or drag to resize

BrentFindExtremumCheckInitialBracketingPoints Method (Double, Double, Double, Double, Double, Double, Double)

Checks whether the given values and function values will produce a valid initial bracketing interval.

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 static ExtremumKind CheckInitialBracketingPoints(
	double a,
	double fa,
	double b,
	double fb,
	double c,
	double fc,
	double tolerance
)

Parameters

a
Type: SystemDouble
The value of the independent variable at one of the limits of the bracketing interval.
fa
Type: SystemDouble
The function value when evaluated at a.
b
Type: SystemDouble
The value of the independent variable between the limits of the bracketing interval.
fb
Type: SystemDouble
The function value when evaluated at b.
c
Type: SystemDouble
The value of the independent variable at one of the limits of the bracketing interval.
fc
Type: SystemDouble
The function value when evaluated at c.
tolerance
Type: SystemDouble
The convergence tolerance in the value.

Return Value

Type: ExtremumKind
The type of extremum if the values will produce a valid interval; otherwise Invalid.
See Also