[Numpy-discussion] BUG: ndarray subclass calls __mul__ when ** (pow) is involved
tmp50 at ukr.net
Sat Mar 19 15:35:01 EDT 2011
I have ndarray subclass, its instance x and use
r = x**2
I expected it will call for each array element
but it calls
It essentially (tens or even more times) decreases my calculations
speed for lots of cases.
(taken some days ago from git)
doesn't work with 1.3.0 as well..
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion