[Numpy-discussion] Getting an item in an array with its coordinates given by another array

Matthieu Brucher matthieu.brucher at gmail.com
Mon Oct 29 14:32:20 EDT 2007


>
> In this case the constructor
>
> tuple(arr)
>
> should work just fine.
>

Sorry, I didn't know it could work (shame on me I should have tested).

-- 
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20071029/166e5eae/attachment.html>


More information about the NumPy-Discussion mailing list