[Numpy-discussion] Infix operators for numpy arrays

John Schulman joschu@caltech....
Mon Apr 19 01:16:35 CDT 2010


Hi all,
I just posted a recipe (http://code.activestate.com/recipes/577201/)
for infix operators that work with numpy arrays, so you can write X
*dot* Y. It works by making the Infix class a subclass of ndarray.

John


More information about the NumPy-Discussion mailing list