>
> Thank you, I have my explanation, but perhaps a totuple() method could 
> be added so that a double conversion is not needed anymore when an 
> array is used for indexing ?
In this case the constructor

tuple(arr)

should work just fine. 

The tolist() method is really more useful for converting a 
multi-dimensional array to a list of lists (instead of a list of N-1 
dimensional arrays).


-Travis


_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to