Description Usage Arguments Value Examples
This function conducts an integer golden search minimisation of a univariate function.
| 1 | goldopt(fn, interval, tol = 1)
 | 
| fn | function to be minimised. fn should return a list, with fval as the function value. | 
| interval | a vector of length two containing the minimum and maximum interger values within which to search for the minimiser. | 
| tol | the tolerance level. Defaults at 1 | 
k minimiser of fn()
crit the minimum
iter total number of iterations
iterfn total number of function evaluations of fn()
fobj an object of the function minimisation
key a logical for warning if fobj may not correspond to k
| 1 2 3 4 5 6 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.