Re:PEP 465 – Dedicated infix operators for matrix multiplica...
by ryansouza on Sunday March 16, 2014 @02:32AM
(#7408172)
Seems to me that Haskell's ability to infix named functions is a much nicer solution over-all
[ Parent
| on HN ]
Re:PEP 465 – Dedicated infix operators for matrix multiplica...
by pcarbonn on Sunday March 16, 2014 @06:10AM
(#7408872)
I agree. I wish python had the capability to infix functions. Maybe the topic for a new PEP ?
Re:PEP 465 – Dedicated infix operators for matrix multiplica...
by akehrer on Sunday March 16, 2014 @08:24AM
(#7409185)
This is this[1] workaround.
I wonder if a whole set of infix matrix operations could be added to reduce the need to load numpy for simple tasks.
A @* B
A @. B
A @+ B
[1] http://code.activestate.com/recipes/384122/