[][src]Function argmin_testfunctions::threehumpcamel

pub fn threehumpcamel<T: Float + FromPrimitive>(param: &[T]) -> T

Three-hump camel test function

Defined as

f(x_1, x_2) = 2*x_1^2 - 1.05*x_1^4 + x_1^6/6 + x_1*x_2 + x_2^2

where x_i \in [-5, 5].

The global minimum is at f(x_1, x_2) = f(0, 0) = 0.