[SciPy-user] creating an array with changing resolution

Oz Nahum nahumoz at gmail.com
Sat May 30 07:48:33 EDT 2009


>You can also write:
>In [30]:r_[1:10:3, 10:20:2]
>Out[30]:array([ 1,  4,  7, 10, 12, 14, 16, 18])

Thanks Eike,
That does the trick,

Oz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20090530/d1d6c3d2/attachment.html>


More information about the SciPy-User mailing list