14 Mar
2014
14 Mar
'14
4:17 p.m.
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)?