Click or drag to resize

BrentFindRoot.SetInitialBracketingPoints 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: 25.1.421.0 (25.1.421.0)
Syntax
public void SetInitialBracketingPoints(
	double a,
	double fa,
	double c,
	double fc
)

Parameters

a
Type: System.Double
The first bracketing c.
fa
Type: System.Double
The corresponding function value at the first bracketing value of the variable.
c
Type: System.Double
The second bracketing value of the variable
fc
Type: System.Double
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