mexican_hat_function: Mexican hat test function generator.

Description Usage Arguments Details Value

View source: R/f_mexican_hat.R

Description

The Mexican hat function is defined slightly differently by different people. The definition used here is

Usage

1
  mexican_hat_function(dimensions)

Arguments

dimensions

Size of parameter space.

Details

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.

Value

A soo_function.


soobench documentation built on May 29, 2017, 11:38 p.m.