[Numpy-discussion] Possible new multiplication operators for Python

Gael Varoquaux gael.varoquaux@normalesup....
Sun Aug 17 14:35:21 CDT 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