Click or drag to resize

BrentFindRootSetInitialBracketingPoints Method (Double, Double, Double, Double)

Defines the initial bracketing interval using the provided variable values and corresponding function 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 fa,
	double c,
	double fc
)

Parameters

a
Type: SystemDouble
The first bracketing c.
fa
Type: SystemDouble
The corresponding function value at the first bracketing value of the variable.
c
Type: SystemDouble
The second bracketing value of the variable
fc
Type: SystemDouble
The corresponding function value at the second bracketing value of the variable.
Exceptions
ExceptionCondition
ArithmeticException Thrown when the function value at either or both of the end points is NaN.
ArithmeticException Thrown when the two points do not bracket a root (or when there is a singularity).
ArithmeticException Thrown when the two points are already within the desired tolerance of zero.
ArithmeticException Thrown when the two points are already within the desired tolerance of each other.
See Also