Functional programmingΒΆ

apply_along_axis (func1d, axis, arr, ...) Apply function to 1-D slices along the given axis.
apply_over_axes (func, a, axes) Apply a function repeatedly over multiple axes.
vectorize (somefunction[, otypes, doc]) Generalized function class.
frompyfunc () frompyfunc(func, nin, nout) take an arbitrary python function that takes nin objects as input and returns nout objects and return a universal function (ufunc). This ufunc always returns PyObject arrays
piecewise (x, condlist, funclist, ...) Evaluate a piecewise-defined function.

Previous topic


Next topic


This Page

Quick search