This is an archival dump of old wiki content --- see for current material.
Please see


There are instances where it is very convenient to have a function defined in the language of scalars that can operate on arrays. numpy.vectorize provides such a conversion.

In simplier language: This function basically makes a functions which calculate single values (e. g. math.sin) operate on array.

Some links and threads on this:

See also

SciPy: Cookbook/Autovectorize (last edited 2015-10-24 17:48:26 by anonymous)