Skip to main content

Utility functions for numpy, written in cython

Project description

A small package with fast numpy routines written in cython

Documentation

https://numpyx.readthedocs.io

Installation

pip install numpyx


Functions in this package

All functions here are specialized for double arrays only

Short-cut functions

These functions are similar to numpy functions but are faster by exiting out of a loop when one element satisfies the given condition

  • any_less_than

  • any_less_or_equal_than

  • any_greater_than

  • any_greater_or_equal_than

  • any_equal_to

  • array_is_sorted

  • allequal

minmax1d

Calculate min. and max. value in one go

searchsorted1

like search sorted, but for 1d double arrays. It is faster than the more generic numpy version

searchsorted2

like search sorted but allows to search across any column of a 2d array

nearestidx

Return the index of the item in an array which is nearest to a given value. The array does not need to be sorted (this is a simple linear search)

nearestitem

For any value of an array, search the nearest item in another array and put its value in the output result

weightedavg

Weighted averageof a time-series

trapz

trapz integration specialized for contiguous / double arrays. Quite faster than generic numpy/scipy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

numpyx-1.5.1-cp312-cp312-win_amd64.whl (111.1 kB view details)

Uploaded CPython 3.12Windows x86-64

numpyx-1.5.1-cp312-cp312-win32.whl (93.7 kB view details)

Uploaded CPython 3.12Windows x86

numpyx-1.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (646.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

numpyx-1.5.1-cp312-cp312-macosx_11_0_arm64.whl (112.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

numpyx-1.5.1-cp312-cp312-macosx_10_9_x86_64.whl (123.5 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

numpyx-1.5.1-cp311-cp311-win_amd64.whl (110.3 kB view details)

Uploaded CPython 3.11Windows x86-64

numpyx-1.5.1-cp311-cp311-win32.whl (93.2 kB view details)

Uploaded CPython 3.11Windows x86

numpyx-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (653.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

numpyx-1.5.1-cp311-cp311-macosx_11_0_arm64.whl (113.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

numpyx-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl (122.8 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

numpyx-1.5.1-cp310-cp310-win_amd64.whl (110.2 kB view details)

Uploaded CPython 3.10Windows x86-64

numpyx-1.5.1-cp310-cp310-win32.whl (93.4 kB view details)

Uploaded CPython 3.10Windows x86

numpyx-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (624.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

numpyx-1.5.1-cp310-cp310-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

numpyx-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl (121.3 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

numpyx-1.5.1-cp39-cp39-win_amd64.whl (110.4 kB view details)

Uploaded CPython 3.9Windows x86-64

numpyx-1.5.1-cp39-cp39-win32.whl (93.6 kB view details)

Uploaded CPython 3.9Windows x86

numpyx-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (621.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

numpyx-1.5.1-cp39-cp39-macosx_11_0_arm64.whl (112.3 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

numpyx-1.5.1-cp39-cp39-macosx_10_9_x86_64.whl (121.6 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file numpyx-1.5.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 111.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c057fa7e554080b5716178208f61fde97ea47dfefa237e14cb7fa82bd12466cf
MD5 1c1bc2646d4dfdd6ae5c5c1dc2da21c4
BLAKE2b-256 d950de32830ce94d7034ba17d7f28e6c7a2e77bf99c42ceb6005ff603e1f3f05

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 93.7 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 bfee6a870787171d514a4d98b5bbc3ff2af2e42844b1a39deb17c81969d4bd71
MD5 b5b9dc63442adbf833fd0302f672f27b
BLAKE2b-256 95fe21aa17e8766fe817af2c34ae3e3dfecda4395797e58066559f85a8c5628e

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5e9d4b4d1e54b14ea84b5ffa8ba97fe41057c8c16cc6c54fc28509196cea0ed
MD5 1bcc02980a0aaff4d893a53e800b79f3
BLAKE2b-256 e8335ef9b0953769c87a57a3e39edf045213cebbfe08596335a83f35e189e2c4

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2fd26ff2bacb763f425573671b12638fc3ea2e24ff3dd4998d46c62773ab0af1
MD5 01a59bdc6a86cd609221be861a9fd2ff
BLAKE2b-256 4c3ad79bf5ba2bf0adc61605032f5a6c525deaa17e7110fa886137c50260832e

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f1b51d402f8edf9a827f7ab3d5421411748fd2d3f991bf3ee77afb81d25306b1
MD5 21aea05b628507d2436d263dd6081cc1
BLAKE2b-256 c1b9abc0b73847a56d24c96005ca727f9478650ffaaf2ecbc121cf580547e31a

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 110.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ae15ddcb84b2ac70c4e86371eefaee0eaa1dc6bdf97e9251b2f22d202240bac8
MD5 8e0b5a8721b31c714127a927cfb59efb
BLAKE2b-256 21a4a79000a28e03a55f6259bb0df217762b5964f7a4d7effc3659c8df136d1d

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 93.2 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 508b70350d03fd6f7724041855bc74ab14cec4552a83ff99f2bc6aecc2f70817
MD5 53d96f03082a3f16e35c437828b8d386
BLAKE2b-256 5e9fdd5466ab9e20cc49585ceb5d1fe65efa77277ec3e5937d46d2472c604155

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 205875f3ef34a94ecf921b22cf52a77e8d51d6081d2c27d6b522a51f0619b8e4
MD5 9ed2532b3534dd5edbd30d6763880b2c
BLAKE2b-256 cbaff3bcc586b3825da259403ad5db240c581dba5f9430aa7d86c132d66262a6

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ec2805b777a8cbc8d0bd3ef9ec31417f081c874904f35ebe0a33a1ed65c1883
MD5 9e502f5ea2e635b1e6e9ade43deae605
BLAKE2b-256 6d9cb6e98d948114075544edc7d89bcace8cb4843c78f9f4179da62943544529

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e27fd8edc6ca1bd80e712f3d18ca9efdb2dacc53da6b553d0c7c90d598c1103e
MD5 65ea266fef71c22f3c67ee618231ed21
BLAKE2b-256 6ad6ff8da58a81f17bdcd9a3053dcecfc0cf5a198ba9d4168aa8e45912a9bd77

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 110.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e77bb077cadd1e6e42f03c99dcfe8b66c81397b2f681c66820be653a5337abff
MD5 468a8721608e8385e3e880ac016b7cba
BLAKE2b-256 a1452b6cec4053ff45d7ce78b95afe91d74ccae218108768a4faba1cdf8933e0

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 93.4 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 6af9d3df95697d99084d0ec7542b5e9a097d452782530dae6e00cb9cf2c41e41
MD5 419c0a81e49cbb57620470f5fbda9793
BLAKE2b-256 1b377f3e440a75ee2185a3e8fe258b22e80897c991e06da9c4961e10128d9b89

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47ac04bbaad1f2039043f597fe08e6ca017754c55408bacdbdf04c0fe8e8af36
MD5 9a9eae9cc3809d63e9376965d48b8f14
BLAKE2b-256 c24de4c1107179ecf98a1fc67ddc2021ba2a4741595bc9b81b420e3d6049ec4c

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 03744a45786b90426ccd0f1d36da0b8ab7294c5dd656bcafa7d9aaab62b6ae1c
MD5 8008fe18fb5ec972a9d075dfbb816d25
BLAKE2b-256 771b582cb465b213ffd4445c41aaf8569ec49917a2a17773754fd53a5813c0a0

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d8ed06ca3b2de12bd1b2c171073137bdb9fb56ec20b6d15861f5f2e092c977cb
MD5 bfc6865439ea9a503af32c99cfd12028
BLAKE2b-256 d46dfa7ce2d0a19e6efd5d5497e239b1a0c470b11c37118e60107360d298802d

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 110.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6e2f1585a543cc3d482edc8f437026ea576f2a5a946833e72c10ac90141a16f7
MD5 9fa8a67f90e6fce21f4e3e8685cb4472
BLAKE2b-256 b0dd76643aa9d9ea61bb208df4ace73b45d59f391990a2c93d283089fa782935

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp39-cp39-win32.whl.

File metadata

  • Download URL: numpyx-1.5.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 93.6 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for numpyx-1.5.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 e741410ca8ec2b34a58cf3f69b1067c4bc9d4f6c9dd9eeb8ae12d9ecbf9aa241
MD5 33a6c3758056b7d539e8ad1a98497cad
BLAKE2b-256 684be3b8f62d934b7647f64d4a4aa3dd19616c0b60c9aaf02c0c299058c3e1b5

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ab90f7fac500ff42516a5b6075e6680f2190ff3e8ce40b6762ddc966b7cf0bc
MD5 a6a57bc97686a1a6a371289ba87d4cf1
BLAKE2b-256 51ff7078c075f8bee6b3888bf774b2927909d21d19a4c28971c8ccd17ef53248

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1684bbadb5b3ee4b6e56c5002a8df7c1e978500735c3a0315880037f70b02735
MD5 5b2de8c2719a614b1ebd5dfdab18964f
BLAKE2b-256 a54dae3f973892b5816578fd900580f6510065b387751c8dc51885fb582afe04

See more details on using hashes here.

File details

Details for the file numpyx-1.5.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for numpyx-1.5.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 94d872e24a7a960a12a4d38a7c17924f378057af70b6d849e837cf5711e3670b
MD5 f676ab05f1453c0b037c6a44501a9bbb
BLAKE2b-256 be32f752a61c1c1ca16195373eec1ae2b7ef5046414f222a4c5232bca84e573e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page