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.0-cp312-cp312-win_amd64.whl (111.1 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

numpyx-1.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (646.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.9+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

numpyx-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (653.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

numpyx-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (624.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.9+ x86-64

numpyx-1.5.0-cp39-cp39-win_amd64.whl (110.7 kB view details)

Uploaded CPython 3.9Windows x86-64

numpyx-1.5.0-cp39-cp39-win32.whl (93.9 kB view details)

Uploaded CPython 3.9Windows x86

numpyx-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (623.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

numpyx-1.5.0-cp39-cp39-macosx_11_0_arm64.whl (112.7 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

numpyx-1.5.0-cp39-cp39-macosx_10_9_x86_64.whl (122.0 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: numpyx-1.5.0-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.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 102999dbff26d67d44013a105a8401955ee52cc64954515fea4177484448c438
MD5 29e52e6e5c2c4e12269f2fcae97a6521
BLAKE2b-256 ea9306c5a07a0b40b6cd37bbdca7f024c6cc98e34a6fe296279051279e86e995

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpyx-1.5.0-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.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 4538940d9ca8c7357036b36c3155df1c3faca4151f2795097d40e5656bf293ab
MD5 2d7ecf79af8e7ce1480d259bb3a24de8
BLAKE2b-256 e018c24d81fffde4f23fd568685e6d3c04ab495983d6a6e3b530392bd1e8da8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afc65fe8cb5bf8efc871cba401947b6b5f486ea51e54d32bd6fc10dff4276793
MD5 f914145784a7a11413b893591957edd4
BLAKE2b-256 3c0cf155a0981a5c3a322112e6e8c917e8de64a59eb85932180ae9c87f0aac19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bc6320761ac5af79559ed96581d3809d955fc06099cce399c563663a89d1c141
MD5 6aa70259db29001a475c0c7fde457c4a
BLAKE2b-256 38b7e206da8f2c7e860236bf211f5fd437a8202ddb6dbe3ebd28e1992aec0a18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 73ada1ebcae3b42d8ec1a48cee305803cf071290f4e2b74250097792bb34de1e
MD5 7718ed2753d417c799d80ca2d91cd4a4
BLAKE2b-256 6a6e45540547719b834ab3019a1f8cb34eba8ac23e8cb57c24523f9733ee1445

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpyx-1.5.0-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.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 02b463fb112fdcfd2ce35542ea3f3b903dd45eaf46a717d78c15518dba2b29f0
MD5 21ca3c98670b27c6db8641ce7ad481c3
BLAKE2b-256 9fd62759a4929b4b09e985fe706f44d514a4bff8f5d0e38977bf161d499de181

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpyx-1.5.0-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.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 8f108585c7d291b3b83ccaaae24c4131e4e54f615206a31ffb1551dc485dc737
MD5 806a4933697c66622a6703475fa6e26d
BLAKE2b-256 814fe69e60ad91879b8463a8a9f303f0a1948151e9bd369d71eb76a19c317fda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ed10a77b6d95c73d88f9a2c94a25225929279b02595247bcf2afceda3f96bd16
MD5 ced69b8289efc940a2f4679b3e1d19ca
BLAKE2b-256 93f3838ed8f53223adda1dde015280062a16a2863bed6ec0b94644ca1e56417a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26b746868e89576e5e4451337be514139326c1a65c7b611f3ab22c927b25345f
MD5 7d45beb165e6b6bef6d4f9fb4c8baf90
BLAKE2b-256 3537dadb7868a908ae147f46214021733af16c7bf588e616714cb3638866c3a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b532d58b970bafef815adf8a5fafa28f806a6cd64b83b7479ac9082d2f981f8f
MD5 25d82c2c95cfe06be1b056e343ba062e
BLAKE2b-256 71f1ab383298e2b6449ea41faa8824f641275707d5cea47be254fae4e6d6877c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpyx-1.5.0-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.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d0b954bb7fe63ceacd6a802d4e6bf469d31bf73e12b628e4c81d5b60d7880027
MD5 59b22917f17680b32c4748e6bbe5e76d
BLAKE2b-256 68d06d83023a83857a1ad5e912dd2405b928191a6e02f20aea25cda3d2c94ff2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpyx-1.5.0-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.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 eb2f4c1b07f370919ef806f11518174e3648a01d028b2310628906afbb5a3c9f
MD5 5ba9e7ea6c70272b4824375b0ca1cdb1
BLAKE2b-256 c10b39c05bebacc88f1956757c8406400643a61fae5ce460f7d840c3ff24b3b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7fd170d8695e349298dfbb39f457210c5a41f934c8bd85cde549240255cb60f
MD5 6492239b7c1691425671339808b596c3
BLAKE2b-256 60affa13f6df117e35619649d8fab3637c63b0b9b280772d285f572a37d77b7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88a9f87953e4eb305744bcf86f7aa3348a4a79cab45e3f9aa1b21bb3bbf03573
MD5 a983b5df868de5b43376424377bfb92a
BLAKE2b-256 4fabc042127e8683313e562bf9b9b17f2b0efd0f7f848b8feff984eac07d960a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1bbc85f6107380bb1d6532f18975170267fd7e06ba853724be75c64dbc7f59b7
MD5 128bc4a211c57f66fe6b9d2518f7115a
BLAKE2b-256 c65e54e26786b46cd2b8a598bdd080b71980b4954ecb44e1ea228f0585e0b4d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpyx-1.5.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 110.7 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.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a5ea5209f99ed80043365c568ec356ff70ed7db184b7ea499adb19d427b9a326
MD5 d52d6ddb184ec97b7c235ca4ef48429e
BLAKE2b-256 5f079db667a1889bda39d326f13937746208349cbe1a166f2628522c94df2c93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpyx-1.5.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 93.9 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.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 a0d9db38e69e3fc6f04cf3cb2ae2551d95991fd5dea9143688651cecb5816ed9
MD5 5741f849db72c0551a1357d1e86e908e
BLAKE2b-256 738d2bea04562e58678709b3fc1b25b0017635e536e398c6d32be0fb0eeb6fbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6832fa1614240171ce32922b46d33b9dff12e179f15e94fdc55f4ee30de1ca10
MD5 e1ce70ca3f5f75db618c2d18a817e989
BLAKE2b-256 76e9cc0ac1da8810d2e266c39f10761ef4dfa947fe33df15f4c375f85a51c075

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7caeed258b698c515015b776e86cafd095da2016a327531b64fa5a269038f26e
MD5 96843b80bf6eed97c441f3421ec7344c
BLAKE2b-256 0f09c13c7732526e96a1c0d977ad1159d90153d093e080a1c3f5d95ef4d644d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpyx-1.5.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 43fb480736572cc614651941df8ec2b5087257d4c2c18d047f21964bef1c0d38
MD5 aea1aff6e12ab37096110420566309c8
BLAKE2b-256 ae64f620764c4f3889ee3508e8c249bf8778bb9c1e1c1d9aec129b262868bdb8

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