class numpy.vectorize(pyfunc, otypes='', doc=None, excluded=None, cache=False)
numpy.apply_along_axis(func1d, axis, arr, *args, **kwargs)
numpy.piecewise(x, condlist, funclist, *args, **kw)
numpy.frompyfunc(func, nin, nout) Takes an arbitrary Python function and returns a Numpy ufunc. Can be used, for example
numpy.apply_over_axes(func, a, axes)