Hacker News new | ask | show | jobs
by akehrer 4472 days ago
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/
1 comments

Yes, but making it part of the language would bring clear error messages in case of misuse, and would allow the use of a different token, e.g. ":", as in smalltalk