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.3.420.0 (24.3.420.0)
Syntax public void SetInitialBracketingPoints(
double a,
double fa,
double c,
double fc
)
Public Sub SetInitialBracketingPoints (
a As Double,
fa As Double,
c As Double,
fc As Double
)
public:
void SetInitialBracketingPoints(
double a,
double fa,
double c,
double fc
)
member SetInitialBracketingPoints :
a : float *
fa : float *
c : float *
fc : float -> unit
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 Exception | Condition |
---|
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