golden_search.Rd
Find the minimum of a function using the Golded-section search algorithm
golden_search(x, a, b, tol = 1e-04)
x | function with one argument |
---|---|
a | min value of search values |
b | max value of search values |
tol | tolerance level. Default is |
#> [1] 0.7854079