[Numpy-discussion] Striding on NumArray objects
faltet at carabos.com
Wed Dec 22 04:42:04 EST 2004
A Dimarts 21 Desembre 2004 21:21, Todd Miller va escriure:
> I had a veritable stroke of genius and talked to JC Hsu... He suggested
> doing concrete examples and also indicated that full multi-dimensional
> RecArray support is almost all (except for repr'ing) there.
Multidimensional RecArrays? Nice!. Is part of the code already in CVS?
> To be clear, in general, _bytestride != _itemsize. For a RecArray
> field (of a contiguous RecArray) where each row contains just one
> element, generally _strides[-1] == _bytestride != _itemsize:
Thanks for the examples. That has clarified *a lot* where to find the
interesting data: it's clear now that what I need is _strides (because I
need to access elements in a column sequentially). And that even works for
forthcoming multidimensional RecArrays which is good.
More information about the NumPy-Discussion