Learn R Programming

cmaes (version 1.0-12)

rotate_function: Create a rotated test function...

Description

Create a rotated test function

Usage

rotate_function(f, M)

Arguments

f

test function.

M

orthogonal square matrix defining the rotation.

Value

The rotated test function.

Details

Returns a new rotated test function defined as $$g(x) = f(Mx).$$