Functional programming

apply_along_axisopen in new window(func1d, axis, arr, *args, …)Apply a function to 1-D slices along the given axis.
apply_over_axesopen in new window(func, a, axes)Apply a function repeatedly over multiple axes.
vectorizeopen in new window(pyfunc[, otypes, doc, excluded, …])Generalized function class.
frompyfuncopen in new window(func, nin, nout)Takes an arbitrary Python function and returns a NumPy ufunc.
piecewiseopen in new window(x, condlist, funclist, *args, **kw)Evaluate a piecewise-defined function.