It was also described in one of the PDL RFCs ages ago.
The general data structure was described which basically
allows a:b:c slices, transposes (read arbitrary dimension
swapping) etc with no copy overhead.
In PDL
$a = zeroes(5000,4000,3000);
$b = $a->slice('2:5000:2,3:3000,0:3000:10')->xchg(
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 ex
This may be verging outside of the range of "language-data" and veering
towards "internals", but I'd sort of like to hash out an idea to make
sure that I'm thinking straight.
When I heard about transpose() (as well as reshape(), etc), I was
concerned about the time it would take to execute the