I'd like to create an object to regroup a set of functions (a sort of toolbox), tough I did not find how to create an object without creating a class.
So, is it OK to create a class, let's say named Toolbox
, such as Toolbox.tool1(x)
applies a certain function to x
, but Toolbox()
gives an error ?
Otherwise, do you have any suggestion ?