[Numpy-discussion] Need help for implementing a fast clip in numpy (was slow clip)
cournape at gmail.com
Sat Jan 13 11:07:33 EST 2007
On 1/13/07, Francesc Altet <faltet at carabos.com> wrote:
> El ds 13 de 01 del 2007 a les 14:42 +0900, en/na David Cournapeau va
> > > No, only if it's contiguous (I'm not sure about alignment)
> > According to numpy ebook, you need alignement for deferencing
> > pointers. But I guess non aligned arrays are not really common.
> Unaligned arrays can be quite common if you use recarrays often:
Well, this gives me one more unit test :) I didn't know any way of
creating non aligned arrays... Thank you.
More information about the NumPy-Discussion