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