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
)
Public Shared Function CheckInitialBracketingPoints (
a As Double,
fa As Double,
b As Double,
fb As Double,
c As Double,
fc As Double,
tolerance As Double
) As ExtremumKind
public:
static ExtremumKind CheckInitialBracketingPoints(
double a,
double fa,
double b,
double fb,
double c,
double fc,
double tolerance
)
static member CheckInitialBracketingPoints :
a : float *
fa : float *
b : float *
fb : float *
c : float *
fc : float *
tolerance : float -> ExtremumKind
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:
ExtremumKindThe type of extremum if the values will produce a valid interval; otherwise
Invalid.
See Also