numpy 2.0.0
PyArrayNeighborhoodIterObject Struct Reference

#include <ndarraytypes.h>

Data Fields

PyObject_HEAD int nd_m1
npy_intp index
npy_intp size
npy_intp coordinates [NPY_MAXDIMS]
npy_intp dims_m1 [NPY_MAXDIMS]
npy_intp strides [NPY_MAXDIMS]
npy_intp backstrides [NPY_MAXDIMS]
npy_intp factors [NPY_MAXDIMS]
PyArrayObjectao
char * dataptr
npy_bool contiguous
npy_intp bounds [NPY_MAXDIMS][2]
npy_intp limits [NPY_MAXDIMS][2]
npy_intp limits_sizes [NPY_MAXDIMS]
npy_iter_get_dataptr_t translate
npy_intp nd
npy_intp dimensions [NPY_MAXDIMS]
PyArrayIterObject_internal_iter
char * constant
int mode

Field Documentation

Neighborhood points coordinates are computed relatively to the point pointed by _internal_iter

Referenced by arraymultiter_new().

how far to jump back
To keep a reference to the representation of the constant value for constant padding
Dimensions is the dimension of the array
ao->dimensions - 1
PyArrayIterObject part: keep this in this exact order
number of dimensions - 1
ao->strides or fake

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