Skip to main content

Module functional

Module functional 

Source

Functionsยง

apply_along_axis
Apply a function along one axis of an array.
apply_over_axes
Apply a reducing function repeatedly over multiple axes.
piecewise
Evaluate a piecewise-defined function.
sum_axis_keepdims
Helper: sum along an axis with keepdims semantics (keeps the axis as size 1).
vectorize
Wrap a scalar function to operate elementwise on arrays.
vectorize_nd
Wrap a scalar function to operate elementwise on arrays of any dimension.