rotate_parameter_space: Rotate the parameter space of a SOO function.
Description
This function is a simple parameter space transformation. Given a
function \(f(x)\) it returns a new function \(f_r(x) = f(Rx)\),
where \(R\) is a random rotation matrix.
Usage
rotate_parameter_space(fn)
Arguments
fn
A soo_function object.
Value
A new soo_function object where the parameter space
has been randomly rotated.
Details
If you want repeatable results, make sure you explicitly set a
seed before calling rotate_parameter_space.