[Numpy-discussion] How exactly ought 'dot' to work?
matthew.brett at gmail.com
Sat Feb 22 21:30:05 EST 2014
On Sat, Feb 22, 2014 at 4:09 PM, Pauli Virtanen <pav at iki.fi> wrote:
> 23.02.2014 00:03, Nathaniel Smith kirjoitti:
>> Currently numpy's 'dot' acts a bit weird for ndim>2 or ndim<1. In
>> practice this doesn't usually matter much, because these are very
>> rarely used. But, I would like to nail down the behaviour so we can
>> say something precise in the matrix multiplication PEP.
> I'm not sure it's necessary to say much about this in the PEP. It should
> in my view concentrate on arguing why the new binop is needed in the
> Python language, and for that, restricting to 2D is good enough IMHO.
Yes, I was thinking the same.
More information about the NumPy-Discussion