[Numpy-discussion] Reversing elements of array

Egg webb.sprague at gmail.com
Mon Jul 18 11:14:35 CDT 2005


Hi all,

I would like to reverse the elements of an array (or vector).  If it were a
regular Python list, I could say L.reverse().  If it were in Matlab (ick), I
could say U(4:-1:1).  Can anyone give me a hint on doing this in Numeric (not
Numarray)?

Thx





More information about the Numpy-discussion mailing list