[Matrix-SIG] Proposal: Move array_map and array_set into NumPy core

Zaur Shibzukhov aLast@mail.ru
Tue, 15 Feb 2000 14:48:47 +0000


Travis Oliphant wrote:

> There are several useful utilities that would work nicely in the NumPy
> core.  The first is the array_set function from gist, which allows setting
> elements of an array using the index. The second is an array_map method
> which I recently wrote and placed in SpecialFunctions (cepes) that allows
> "vectorizing" an arbitrary Python function -- i.e. it is a map that
> implements the universal function broadcasting rules.

It's a good idea!
I am often regreted that NumPy have not array_map function and
the function which was inverse to function take.

Good luck.