powered by
hooke_jeeves(x0, f, h = 1, scale = 1, info = FALSE, tol = .Machine$double.eps^(2/3), ...)
f
nelder_mead
## Rosenbrock function hooke_jeeves(c(0, 0), rosenbrock) # $xmin # [1] 1 1 # $fmin # [1] 1.328283e-16 # $fcalls # [1] 31934 # $niter # [1] 4344
Run the code above in your browser using DataLab