gold.sect: Golden Section Search Optimization

Description Usage Arguments Value Author(s) Examples

View source: R/gold.sect.R

Description

A method used for locating the optimum value of a function. The technique utilizes the golden ratio to successively narrow the range of values for which the optimum is found.

Usage

1
  gold.sect(f, lo, hi, tol = 1e-07)

Arguments

f

The function to be optimized

lo

Lower estimate

hi

Upper estimate

tol

Level of tolerance desired for optimization

Value

a estimated optimal value of the function

f(a) function value at the optimal value

Author(s)

Tyler Hunt tyler@psychoanalytix.com

Examples

1
gold.sect(sin, 1/2, pi/2)

JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.