OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
numpy
/
core
/
include
/
numpy
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 08:45:51 AM
rwxr-xr-x
📄
__multiarray_api.h
59.21 KB
12/05/2017 02:32:02 PM
rw-r--r--
📄
__ufunc_api.h
11.38 KB
12/05/2017 02:32:02 PM
rw-r--r--
📄
_neighborhood_iterator_imp.h
1.82 KB
07/18/2017 01:49:30 AM
rw-r--r--
📄
_numpyconfig.h
1010 bytes
12/05/2017 02:32:02 PM
rw-r--r--
📄
arrayobject.h
164 bytes
09/17/2017 01:29:38 PM
rw-r--r--
📄
arrayscalars.h
3.43 KB
09/17/2017 01:25:46 PM
rw-r--r--
📄
halffloat.h
1.83 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
multiarray_api.txt
53.73 KB
12/05/2017 02:32:02 PM
rw-r--r--
📄
ndarrayobject.h
10.15 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
ndarraytypes.h
62.35 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
noprefix.h
6.58 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
npy_1_7_deprecated_api.h
4.5 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
npy_3kcompat.h
11.9 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
npy_common.h
36.76 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
npy_cpu.h
2.71 KB
09/29/2017 05:31:46 PM
rw-r--r--
📄
npy_endian.h
2.15 KB
09/29/2017 05:31:46 PM
rw-r--r--
📄
npy_interrupt.h
3.36 KB
09/17/2017 01:25:46 PM
rw-r--r--
📄
npy_math.h
18.09 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
npy_no_deprecated_api.h
567 bytes
09/17/2017 01:25:46 PM
rw-r--r--
📄
npy_os.h
817 bytes
07/18/2017 01:49:30 AM
rw-r--r--
📄
numpyconfig.h
1.1 KB
09/29/2017 05:31:46 PM
rw-r--r--
📄
old_defines.h
6.16 KB
09/17/2017 01:25:46 PM
rw-r--r--
📄
oldnumeric.h
708 bytes
09/17/2017 01:29:38 PM
rw-r--r--
📄
ufunc_api.txt
5.99 KB
12/05/2017 02:32:02 PM
rw-r--r--
📄
ufuncobject.h
12.23 KB
09/17/2017 01:29:38 PM
rw-r--r--
📄
utils.h
628 bytes
07/18/2017 01:49:30 AM
rw-r--r--
Editing: _neighborhood_iterator_imp.h
Close
#ifndef _NPY_INCLUDE_NEIGHBORHOOD_IMP #error You should not include this header directly #endif /* * Private API (here for inline) */ static NPY_INLINE int _PyArrayNeighborhoodIter_IncrCoord(PyArrayNeighborhoodIterObject* iter); /* * Update to next item of the iterator * * Note: this simply increment the coordinates vector, last dimension * incremented first , i.e, for dimension 3 * ... * -1, -1, -1 * -1, -1, 0 * -1, -1, 1 * .... * -1, 0, -1 * -1, 0, 0 * .... * 0, -1, -1 * 0, -1, 0 * .... */ #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]; \ } static NPY_INLINE int _PyArrayNeighborhoodIter_IncrCoord(PyArrayNeighborhoodIterObject* iter) { npy_intp i, wb; for (i = iter->nd - 1; i >= 0; --i) { _UPDATE_COORD_ITER(i) } return 0; } /* * Version optimized for 2d arrays, manual loop unrolling */ static NPY_INLINE int _PyArrayNeighborhoodIter_IncrCoord2D(PyArrayNeighborhoodIterObject* iter) { npy_intp wb; _UPDATE_COORD_ITER(1) _UPDATE_COORD_ITER(0) return 0; } #undef _UPDATE_COORD_ITER /* * Advance to the next neighbour */ static NPY_INLINE int PyArrayNeighborhoodIter_Next(PyArrayNeighborhoodIterObject* iter) { _PyArrayNeighborhoodIter_IncrCoord (iter); iter->dataptr = iter->translate((PyArrayIterObject*)iter, iter->coordinates); return 0; } /* * Reset functions */ static NPY_INLINE int PyArrayNeighborhoodIter_Reset(PyArrayNeighborhoodIterObject* iter) { npy_intp i; for (i = 0; i < iter->nd; ++i) { iter->coordinates[i] = iter->bounds[i][0]; } iter->dataptr = iter->translate((PyArrayIterObject*)iter, iter->coordinates); return 0; }