Learn R Programming

cmaes (version 1.0-12)

shift_function: shift_function

Description

Returns a new function $$g(x) = f(x - offset).$$

Usage

shift_function(f, offset)

Arguments

f

test function

offset

offset.

Value

The shifted test function.