I am still curious about the reshape ‘bug’ from v.2014. On PDL-2.015:
> pdl> $R = double([ [ [0,1],[2,3] ],[ [4,5],[6,7] ] ]); > > pdl> p $R->mv(-1,0)->reshape(4,2) > Can't setdims on a PDL that already has children at blib/lib/PDL/Core.pm line > 2650, <DATA> line 90. On a very old version (PDL 2.007): > pdl> $R = double([ [ [0,1],[2,3] ],[ [4,5],[6,7] ] ]); > > pdl> p $R->mv(-1,0)->reshape(4,2) > > [ > [0 4 1 5] > [2 6 3 7] > ] > Isn’t the latter what we expect? Karl ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
