R/functions.R
f_beale.Rd
Beale function
f_beale(x)
A numeric vector of length 2.
numeric
The function value at x, a single numeric.
x
The function has multiple local minima and one global minimum in (3, 0.5).
(3, 0.5)
https://en.wikipedia.org/wiki/Test_functions_for_optimization
f_beale(c(3, 0.5)) #> [1] 0