[Numpy-discussion] Questions about the array interface.
xscottg at yahoo.com
Thu Apr 7 21:16:06 EDT 2005
Oops, sent too fast. Quick correction...
> In the world where some of these attributes are optional: If an
> attribute like __array_offset__ or __array_shape__ isn't present,
> the C code will know to use zero or the default C-contiguous layout.
> So the check failed, but the failure case is probably very fast
> (since a temporary tuple object doesn't have to be built by the array
> on the fly).
I meant to say "__array_offset__ or __array_stides___". The
__array_shape__ attribute would always be required for arrays...
More information about the NumPy-Discussion