Very nice! One enhancement I would like to see (probably to NiceSlice) would be someway to concisely state this type of mv() un-mv() functionality as it appears often in threaded PDL code.
Maybe something like: $a->todim(1)->rotate(1) That could translate into: $a->mv(0,1)->rotate(1)->mv(1,0) --Chris David Mertens wrote: > Matt meant to send this to the whole list. If this isn't a really cool > example of data flow, I don't know what is: > > On Wed, Nov 11, 2009 at 8:07 AM, Matthew Kenworthy > <[email protected] <mailto:[email protected]>> wrote: > > Gabor, > > If you want to drop one of the transpose, you could also do: > $b = $a->transpose; > $b .= $b->rotate(1); > > That will flow back the rotate into $a. > Matt > > -- > Matthew Kenworthy / Assistant Astronomer / Steward Observatory > 933 N. Cherry Ave. / Tucson AZ 85721 / vox 520 626 6720 _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
