Description Usage Arguments Details Value
View source: R/f_mexican_hat.R
The Mexican hat function is defined slightly differently by different people. The definition used here is
1 | generate_mexican_hat_function(dimensions)
|
dimensions |
[ |
f(x) = -(1 - x'x) * exp(-0.5 * x'x)
Note that we have flipped the sign of the function so that it is a minimization problem like all other SOO functions.
A soo_function
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.