generate_mexican_hat_function: Mexican hat test function generator.
Description
The Mexican hat function is defined slightly differently by
different people. The definition used here is
Usage
generate_mexican_hat_function(dimensions)
Arguments
dimensions
[integer(1)
] Size of parameter space.
Details
$$f(x) = -(1 - x'x) * \exp\left(-\frac{x'x}{2}\right)$$
Note that we have flipped the sign of the function so that it is a
minimization problem like all other SOO functions.