[Numpy-discussion] "aligned" matrix / ctypes
Wed Apr 23 16:49:53 CDT 2008
On 23/04/2008, Zachary Pincus <firstname.lastname@example.org> wrote:
> Thanks a ton for the advice, Robert! Taking an array slice (instead of
> trying to set up the strides, etc. myself) is a slick way of getting
> this result indeed.
It's worth mentioning that there was some discussion of adding an
allocator for aligned arrays. It got sidetracked into a discussion of
SSE support for numpy, but there are all sorts of reasons to want
aligned arrays in numpy, as this post demonstrates. Seeing as it's
just a few lines worth of pure python, is anyone interested in writing
an aligned_empty() for numpy?
More information about the Numpy-discussion