A generic module to use as example.
mypackage.foo.
a_function
Define a generic function.
x (float) – The function’s argument array.
dim (int) – Number of dimensions to expand.
The evaluated function at the given input array.
float