It is a slice: "$a->(-1:0:-1)". From last element to first element, stepping by-1.
(Mobile) On Oct 9, 2009, at 8:09 AM, Maggie Xiong <[email protected] > wrote: > Maybe I've missed the obvious--is there something similar to perl > reverse in PDL? It seems trivial but handy to have with qsort and > qsorti. > > > Thanks, > Maggie > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
