[Numpy-discussion] Possible new multiplication operators for Python

Gael Varoquaux gael.varoquaux at normalesup.org
Sun Aug 17 15:35:21 EDT 2008


On Sun, Aug 17, 2008 at 09:33:33PM +0200, Andrew Dalke wrote:
> Gaël Varoquaux wrote:
> > Anybody care for '.*'?

> That's border-line case, and probably on the bad
> idea side because 1.*2 already means something in
> normal Python.  If added there would be a difference
> between
>    1.*2
> and
>    1 .*2

Good point. This was more of a joke than a serious proposition. The joke
is that in Matlab, '.*' is a different operator than '*'.

Gaël



More information about the NumPy-Discussion mailing list