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)

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


Building and installing numba_special requires Cython, SciPy, and Numba. Until the fix for this issue is included in a Numba release, numba_special must be built 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.

Files for numba-special, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size numba_special-0.1.0.tar.gz (45.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page