[Numpy-discussion] "Manually" broadcasting arrays in Python
Robert Kern
robert.kern at gmail.com
Tue Oct 3 23:01:16 EDT 2006
Has anyone implemented an easier or more efficient way to broadcast arrays to a
common shape at the Python level? I was hoping that the broadcast iterator would
actually provide the broadcasted arrays, but it does not.
I've attached my best pure-Python effort.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: broadcast_array.py
Type: application/x-python
Size: 1280 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20061003/f39ab51f/attachment.bin>
More information about the NumPy-Discussion
mailing list