nag_zero_cont_func_brent (c05ayc) locates a simple zero of a continuous function in a given interval using Brent's method, which is a combination of nonlinear interpolation, linear extrapolation and bisection.
nag_zero_cont_func_brent (c05ayc) 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
eps and
eta. If full machine accuracy is required, they may be set very small, resulting in an exit with
NE_TOO_SMALL, although this may involve many more iterations than a lesser accuracy. You are recommended to set
and to use
eps to control the accuracy, unless you have considerable knowledge of the size of
for values of
near the zero.
Not applicable.
The time taken by nag_zero_cont_func_brent (c05ayc) depends primarily on the time spent evaluating
f (see
Section 5).
None.