Skip to main content

Numba overloads for SciPy's special functions

Project description

Numba Special

CircleCI Documentation Status

Numba special allows SciPy's special functions to be used in Numba.

How to use it

>>> import numba
>>> import scipy.special as sc
>>> import numba_special  # The import generates Numba overloads for special
>>> @numba.njit
... def gamma_plus_1(x):
...     return sc.gamma(x) + 1.0
...
>>> gamma_plus_1(5.0)
25.0

For detailed information on which functions can be used from Numba, check the documentation.

Installing

Numba special depends on SciPy and Numba. Until the fix for this issue is included in a Numba release, numba_special must be installed against the master branch of Numba.

Project details


Download files

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

Source Distribution

numba_special-0.2.0.tar.gz (49.3 kB view details)

Uploaded Source

File details

Details for the file numba_special-0.2.0.tar.gz.

File metadata

  • Download URL: numba_special-0.2.0.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1

File hashes

Hashes for numba_special-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e35bbc305e40251f461cf2e37ca1df8578472b40642e93d2ccc97801e94526cc
MD5 847f79ea6ae4d2eed21697ae6354c3dd
BLAKE2b-256 1f7e95d6ed393d6738b4f23474aaee57d8d4f101dc71cae377f05dd94dec3fee

See more details on using hashes here.

Supported by

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