zero


zero, a FORTRAN90 code which finds a zero of a scalar function of a scalar variable, by Richard Brent.

The method does not require the use of derivatives, and does not assume that the function is differentiable.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

zero is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:

zero_test

bisection_integer, a FORTRAN90 code which seeks an integer solution to the equation F(X)=0, using bisection within a user-supplied change of sign interval [A,B].

bisection_rc, a FORTRAN90 code which seeks a solution to the equation F(X)=0 using bisection within a user-supplied change of sign interval [A,B]. The procedure is written using reverse communication.

nms, a FORTRAN90 code which includes versions of Brent's zero finder.

slatec, a FORTRAN90 code which includes the zero finder fzero().

test_zero, a FORTRAN90 code which defines some test functions for which zeroes can be sought.

zero_rc, a FORTRAN90 code which seeks solutions of a scalar nonlinear equation f(x) = 0, or a system of nonlinear equations, using reverse communication.

zoomin, a FORTRAN90 code which includes various zero finder routines.

Author:

Original FORTRAN77 version by Richard Brent; FORTRAN90 version by John Burkardt.

Reference:

  1. Richard Brent,
    Algorithms for Minimization without Derivatives,
    Dover, 2002,
    ISBN: 0-486-41998-3,
    LC: QA402.5.B74.

Source Code:


Last revised on 31 May 2021.