[Numpy-discussion] It lives! Or at least is not undead

Charles R Harris charlesr.harris at gmail.com
Sat Aug 2 13:14:19 EDT 2014


charris at localhost [matmul (master)]$ python3.5
Python 3.5.0a0 (default:4425024f2e01, Aug  2 2014, 10:10:31)
[GCC 4.8.3 20140624 (Red Hat 4.8.3-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> import testing
>>> a = np.ones(3).view(testing.marray)
>>> a at 3
marray([ 3.,  3.,  3.])
>>> 3 at a
marray([ 3.,  3.,  3.])
>>> a at np.eye(3)
marray([ 1.,  1.,  1.])
>>> np.eye(3)@a
marray([ 1.,  1.,  1.])

This was just for quick experimentation.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140802/4d80c2eb/attachment.html>


More information about the NumPy-Discussion mailing list