This is documentation for an old release of NumPy (version 1.8.0). Read this page in the documentation of the latest stable release (version > 1.17).
Functional programming¶
apply_along_axis(func1d, axis, arr, *args) | Apply a function to 1-D slices along the given axis. |
apply_over_axes(func, a, axes) | Apply a function repeatedly over multiple axes. |
vectorize(pyfunc[, otypes, doc, excluded, cache]) | Generalized function class. |
frompyfunc(func, nin, nout) | Takes an arbitrary Python function and returns a Numpy ufunc. |
piecewise(x, condlist, funclist, *args, **kw) | Evaluate a piecewise-defined function. |