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

Matthieu Brucher matthieu.brucher@gmail....
Mon Oct 29 13:32:20 CDT 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://projects.scipy.org/pipermail/numpy-discussion/attachments/20071029/166e5eae/attachment.html 


More information about the Numpy-discussion mailing list