R/camelback.R

Defines functions camelback

Documented in camelback

camelback <- function(x){
	x1 <- x[1]*6-3   
	x2 <- x[2]*4-2  
	(4-2.1*x1^2+(x1^4)/3)*x1^2+x1*x2+(-4+4*x2^2)*x2^2 
}

Try the DiceKriging package in your browser

Any scripts or data that you put into this service are public.

DiceKriging documentation built on Feb. 24, 2021, 1:07 a.m.