golden_section, an R code which seeks the maximum of a unimodular ("U-shaped") function in [a,b] using golden section search.
Copyright 2016 James P. Howard, II
The computer code and data files on this web page are distributed under the BSD-2-Clause license.
golden_section is available in a MATLAB version and an Octave version and an R version.
Original R code by James Howard; This version by John Burkardt.