GoldenSectionFindExtremum.SetInitialBracketingPoints Method (Double, Double, 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)
Syntaxpublic void SetInitialBracketingPoints(
double a,
double fa,
double b,
double fb,
double c,
double fc
)
Public Sub SetInitialBracketingPoints (
a As Double,
fa As Double,
b As Double,
fb As Double,
c As Double,
fc As Double
)
public:
void SetInitialBracketingPoints(
double a,
double fa,
double b,
double fb,
double c,
double fc
)
member SetInitialBracketingPoints :
a : float *
fa : float *
b : float *
fb : float *
c : float *
fc : float -> unit
Parameters
- a
- Type: System.Double
The value of the independent variable at one of the limits of the bracketing interval. - fa
- Type: System.Double
The function value when evaluated at a. - b
- Type: System.Double
The value of the independent variable between the limits of the bracketing interval. - fb
- Type: System.Double
The function value when evaluated at b. - c
- Type: System.Double
The value of the independent variable at one of the limits of the bracketing interval. - fc
- Type: System.Double
The function value when evaluated at c.
Exceptions
Remarks
The function values
fa, fb, and fc must indicate
a local extremum such that at least one of them is not equal to the other two, and
fb is either greater than or equal to or less than or equal to
both fa and fc.
See Also