For a lot of array programming, a rectangular shape is perfectly fine and has some nice efficiency advantages over a vector-of-vectors representation. It'd be nice to be able to work with these in Harlan.
We could get most of the way there with a set of macros that takes shape parameters but otherwise work like the existing kernel and reduce forms.
For a lot of array programming, a rectangular shape is perfectly fine and has some nice efficiency advantages over a vector-of-vectors representation. It'd be nice to be able to work with these in Harlan.
We could get most of the way there with a set of macros that takes shape parameters but otherwise work like the existing
kernel
andreduce
forms.