[Numpy-discussion] What's the difference between calling __mul__ and *?
Fri Jun 7 13:14:52 CDT 2013
I think I've figured this out. It seems like the rule in the "Note" box is
the problem. Since a matrix is not a subclass of my custom class, the
__rmul__ of the matrix is not being called.
Thanks for the info.
On Fri, Jun 7, 2013 at 11:40 AM, Alan G Isaac <email@example.com> wrote:
> On 6/7/2013 12:30 PM, Will Lee wrote:
> > Can somebody tell me why these operations are not the same in numpy?
> Alan Isaac
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion