numpy 2.0.0
NpyIter_InternalOnly Struct Reference

Data Fields

npy_uint32 itflags
npy_uint16 ndim
npy_uint16 nop
npy_intp itersize
npy_intp iterstart
npy_intp iterend
npy_intp iterindex
char iter_flexdata

Detailed Description

The data layout of the iterator is fully specified by a triple (itflags, ndim, nop). These three variables are expected to exist in all functions calling these macros, either as true variables initialized to the correct values from the iterator, or as constants in the case of specialized functions such as the various iternext functions.

Field Documentation

The rest is variable
iterindex is only used if RANGED or BUFFERED is set
Initial fixed position data

The documentation for this struct was generated from the following file: