| 1 |
Source: numpy-minmax |
| 2 |
Maintainer: Home Assistant Team <[email protected]> |
| 3 |
Uploaders: |
| 4 |
Edward Betts <[email protected]>, |
| 5 |
Section: python |
| 6 |
Build-Depends: |
| 7 |
debhelper-compat (= 13), |
| 8 |
dh-sequence-python3, |
| 9 |
pybuild-plugin-pyproject, |
| 10 |
python3-all-dev, |
| 11 |
python3-cffi, |
| 12 |
python3-numpy <!nocheck>, |
| 13 |
python3-numpy-dev, |
| 14 |
python3-pytest <!nocheck>, |
| 15 |
python3-setuptools, |
| 16 |
Standards-Version: 4.7.4 |
| 17 |
Homepage: https://github.com/nomonosound/numpy-minmax |
| 18 |
Vcs-Browser: https://salsa.debian.org/homeassistant-team/deps/numpy-minmax |
| 19 |
Vcs-Git: https://salsa.debian.org/homeassistant-team/deps/numpy-minmax.git |
| 20 |
Testsuite: autopkgtest-pkg-pybuild |
| 21 |
|
| 22 |
Package: python3-numpy-minmax |
| 23 |
Architecture: any |
| 24 |
Depends: |
| 25 |
${misc:Depends}, |
| 26 |
${python3:Depends}, |
| 27 |
${shlibs:Depends}, |
| 28 |
Description: fast minimum and maximum calculation for NumPy arrays |
| 29 |
Provides a function that returns the minimum and maximum values from a NumPy |
| 30 |
array in a single call. This avoids making separate passes for low and high |
| 31 |
values and is intended for cases where both results are needed together. |
| 32 |
. |
| 33 |
The implementation focuses on float32 arrays, with optimized handling for |
| 34 |
C-contiguous arrays, Fortran-contiguous arrays, and one-dimensional strided |
| 35 |
arrays. It also includes optimized handling for contiguous int16 arrays. For |
| 36 |
array layouts outside those cases, such as higher-dimensional strided arrays, |
| 37 |
it falls back to NumPy's normal minimum and maximum operations. |
| 38 |
. |
| 39 |
This library is aimed at fast reduction over array data while keeping the |
| 40 |
result simple: a pair containing the smallest and largest values found in the |
| 41 |
input. It works on NumPy ndarrays and is particularly concerned with the |
| 42 |
memory layout and element type of the array, since those determine which code |
| 43 |
path is used. |