[Numpy-discussion] Ctypes support in NumPy
Albert Strasheim
fullung at gmail.com
Tue Jul 4 03:57:10 EDT 2006
Hello all
> > In this case, I think one wants strides[0] (the row stride) to return
> 40.
> >
>
> Why do you think that?
>
> All sliced arrays keep the same strides information as their
> "parents". This is the essence of a "view". The striding is exactly
> the same as before (the data hasn't moved anywhere), only the starting
> point and the bounds have changed.
Sorry, I was suffering some temporary strides brain damage. :-)
Regards,
Albert
More information about the NumPy-Discussion
mailing list