numpy
2.0.0
|
Go to the source code of this file.
Defines | |
#define | _UPDATE_COORD_ITER(c) |
Functions | |
static NPY_INLINE int | _PyArrayNeighborhoodIter_IncrCoord (PyArrayNeighborhoodIterObject *iter) |
static NPY_INLINE int | _PyArrayNeighborhoodIter_IncrCoord2D (PyArrayNeighborhoodIterObject *iter) |
static NPY_INLINE int | PyArrayNeighborhoodIter_Next (PyArrayNeighborhoodIterObject *iter) |
static NPY_INLINE int | PyArrayNeighborhoodIter_Reset (PyArrayNeighborhoodIterObject *iter) |
#define _UPDATE_COORD_ITER | ( | c | ) |
wb = iter->coordinates[c] < iter->bounds[c][1]; \ if (wb) { \ iter->coordinates[c] += 1; \ return 0; \ } \ else { \ iter->coordinates[c] = iter->bounds[c][0]; \ }
<blockquote>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
</blockquote>
static NPY_INLINE int _PyArrayNeighborhoodIter_IncrCoord | ( | PyArrayNeighborhoodIterObject * | iter | ) | [static] |
References PyArrayNeighborhoodIterObject::bounds, PyArrayIterObject_tag::coordinates, PyArrayNeighborhoodIterObject::coordinates, PyArrayNeighborhoodIterObject::dataptr, PyArrayNeighborhoodIterObject::nd, and PyArrayNeighborhoodIterObject::translate.
static NPY_INLINE int _PyArrayNeighborhoodIter_IncrCoord2D | ( | PyArrayNeighborhoodIterObject * | iter | ) | [static] |
static NPY_INLINE int PyArrayNeighborhoodIter_Next | ( | PyArrayNeighborhoodIterObject * | iter | ) | [static] |
static NPY_INLINE int PyArrayNeighborhoodIter_Reset | ( | PyArrayNeighborhoodIterObject * | iter | ) | [static] |