OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
lib
/
python3.6
/
dist-packages
/
numpy
/
core
/
include
/
numpy
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 05:59:26 AM
rwxr-xr-x
📄
__multiarray_api.h
60.16 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
__ufunc_api.h
12.14 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
_neighborhood_iterator_imp.h
1.82 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
_numpyconfig.h
1010 bytes
10/28/2024 05:59:24 AM
rw-r--r--
📄
arrayobject.h
164 bytes
10/28/2024 05:59:24 AM
rw-r--r--
📄
arrayscalars.h
3.58 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
halffloat.h
1.83 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
multiarray_api.txt
54.15 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
ndarrayobject.h
10.44 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
ndarraytypes.h
63.06 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
noprefix.h
6.63 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_1_7_deprecated_api.h
4.25 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_3kcompat.h
14.21 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_common.h
36.82 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_cpu.h
3.94 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_endian.h
2.58 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_interrupt.h
1.82 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_math.h
20.53 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_no_deprecated_api.h
567 bytes
10/28/2024 05:59:24 AM
rw-r--r--
📄
npy_os.h
817 bytes
10/28/2024 05:59:24 AM
rw-r--r--
📄
numpyconfig.h
1.33 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
old_defines.h
6.16 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
oldnumeric.h
708 bytes
10/28/2024 05:59:24 AM
rw-r--r--
📁
random
-
10/28/2024 05:59:26 AM
rwxr-xr-x
📄
ufunc_api.txt
6.9 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
ufuncobject.h
12.46 KB
10/28/2024 05:59:24 AM
rw-r--r--
📄
utils.h
729 bytes
10/28/2024 05:59:24 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; }