<div dir="ltr"><div><div><span style="font-family:courier new,monospace">charris@localhost [matmul (master)]$ python3.5<br>Python 3.5.0a0 (default:4425024f2e01, Aug  2 2014, 10:10:31) <br>[GCC 4.8.3 20140624 (Red Hat 4.8.3-1)] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.<br>>>> import numpy as np<br>>>> import testing<br>>>> a = np.ones(3).view(testing.marray)<br>
>>> a@3<br>marray([ 3.,  3.,  3.])<br>>>> 3@a<br>marray([ 3.,  3.,  3.])<br>>>> a@np.eye(3)<br>marray([ 1.,  1.,  1.])<br>>>> np.eye(3)@a<br>marray([ 1.,  1.,  1.])</span><br><br></div>
This was just for quick experimentation.<br><br></div>Chuck<br></div>