golden_section, a C code which estimates a minimizer of a function f(x) over the interval [a,b], assuming f(x) is unimodular ("U-shaped") over [a,b].
The program returns an estimate for a critical point x, which might be a minimum, maximum or just an inflection point. It also returns the number of iterations.The information on this web page is distributed under the MIT license.
golden_section 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.
glomin, a C code which finds a global minimum of a scalar function of a scalar argument, without the use of derivative information, by Richard Brent.
local_min, a C code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.
test_min, a C code which implements test problems for minimization of a scalar function of a scalar variable.