[Python-ideas] Fwd: [RFC] draft PEP: Dedicated infix operators for matrix multiplication and matrix power
Serhiy Storchaka
storchaka at gmail.com
Fri Mar 14 21:17:58 CET 2014
14.03.14 03:59, Nathaniel Smith написав(ла):
> PEP: XXXX
> Title: Dedicated infix operators for matrix multiplication and matrix power
This is about matrix multiplication and matrix power. But what about
matrix division? It is needed to distinguish elementwise division from
left and right matrix divisions. And what about concatenation? Python
lists and tuples use ``+`` for this, but NumPy arrayse use ``+`` for
bitwise addition.
Matrix multiplication is only defined on 2d arrays (matrices). But why
not on arbitrary tensors (except scalars)?
More information about the Python-ideas
mailing list