[Python-Dev] Product function patch [issue 1093]
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Sep 4 00:59:30 CEST 2007
Ryan Freckleton wrote:
> At one time Guido mentioned adding a built-in product() function to
> cover some of the remaining use cases of the built-in reduce().
Speaking of such things, I was thinking the other day
that it might be useful to have somewhere in the stdlib
a full set of functions for doing elementwise operations
and reductions on the built-in array type.
This would make it possible for one to do efficient
bulk arithmetic when the need arises from time to time
without having to pull in a heavyweight dependency
such as Numeric or numpy.
--
Greg
More information about the Python-Dev
mailing list