Re: Implementing RFC 272 by c.soeller- September 23, 2000 Buddha Buck wrote:> When I heard about transpose() (as well as reshape(), etc), I was> concerned about the time it would take to execute these complex> operations. To wit, naively, I believed that a lot of data shuffling> would be necessary.If I understand your message correctly this is exactly what PDL, NumPY,etc do right now and is also described in one of my messages I sentyesterday (Re: RFC 272 (v1) Arrays: transpose()) about implementingaliasing ;) Christianhttp://www.nntp.perl.org/group/perl.perl6.language.data/2000/09/msg432.html Implementing RFC 272 by Buddha Buck- September 23, 2000 This may be verging outside of the range of "language-data" and veering towards "internals", but I&39;d sort of like to hash out an idea to make sure that I&39;m thinking straight.When I heard about transpose() (as well as reshape(), etc), I was concerned about the time it would take to execute these complex operations. To wit, naively, I believed that a lot of data shuffling would be necessary.Specifically, given the 2x3 array a,b,c,d,e,f, I had assumed that it would be...http://www.nntp.perl.org/group/perl.perl6.language.data/2000/09/msg431.html Re: RFC 272 (v1) Arrays: transpose() by c.soeller- September 23, 2000 Jeremy Howard wrote:> (I&39;m not assuming the no-flattening thing, since that&39;s another source of> angst altogether!)What is the no-flattening thing Christianhttp://www.nntp.perl.org/group/perl.perl6.language.data/2000/09/msg430.html Re: RFC 272 (v1) Arrays: transpose() by c.soeller- September 23, 2000 Karl Glazebrook wrote:> the arguments to reshape should be sizes not last elements (i.e. N&39;s> not N-1&39;s).Yup, it&39;s simple: size (N) vs index range (0..N-1)> How does this soundLogical and consistent ;) Christianhttp://www.nntp.perl.org/group/perl.perl6.language.data/2000/09/msg429.html |