nag_zero_cont_func_bd (c05adc) locates a zero of a continuous function in a given interval by a combination of the methods of nonlinear interpolation, linear extrapolation and bisection.
nag_zero_cont_func_bd (c05adc) attempts to obtain an approximation to a simple zero of the function given an initial interval such that .
The approximation
to the zero
is determined so that at least one of the following criteria is satisfied:
| (i) |
, |
| (ii) |
. |
The levels of accuracy depend on the values of
xtol and
ftol. If full machine accuracy is required, they may be set very small, resulting in an exit with
NE_XTOL_TOO_SMALL, although this may involve many more iterations than a lesser accuracy. You are recommended to set
and to use
xtol to control the accuracy, unless you have considerable knowledge of the size of
for values of
near the zero.
The time taken by nag_zero_cont_func_bd (c05adc) depends primarily on the time spent evaluating
f (see
Section 5).
None.