cbx.utils.objective_handling.cbx_objective_f2D#

class cbx.utils.objective_handling.cbx_objective_f2D(f)[source]#

Bases: cbx_objective_fh

A class for handling 2D objective functions.

apply(x)[source]#

Applies the function f to the input x.

Parameters:

x – The input to the function.

Return type:

The output of the function.