Autograd compatible approximations to the gamma family of functions
Project description
autograd-gamma
autograd compatible approximations to the derivatives of the Gamma-family of functions.
Tutorial
from autograd import grad
from autograd_gamma import gammainc, gammaincc, gamma, gammaincln, gammainccln
grad(gammainc, argnum=0)(1., 2.)
grad(gammaincc, argnum=0)(1., 2.)
# logarithmic functions too.
grad(gammaincln, argnum=0)(1., 2.)
grad(gammainccln, argnum=0)(1., 2.)
Long-term goal
Build and improve upon the derivative of the upper and lower incomplete gamma functions. Eventually, if we have a fast analytical solution, we will merge into the autograd library.
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
autograd-gamma-0.3.0.tar.gz
(2.3 kB
view details)
Built Distributions
File details
Details for the file autograd-gamma-0.3.0.tar.gz
.
File metadata
- Download URL: autograd-gamma-0.3.0.tar.gz
- Upload date:
- Size: 2.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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2801c03b6032b8303569542d7ef249d2cab1159286d17bb97c0474b02875af5 |
|
MD5 | c001fb36b9cbeab4e55cf8aa30c26225 |
|
BLAKE2b-256 | f9edc3e00c87cee5189bcbf95ca68487da36cce7d652b2870abadcc5ba8c2a37 |
File details
Details for the file autograd_gamma-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: autograd_gamma-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4143e400cb4d1a202b1fec3d345dec3627e33cda05044cba74fc4a2930fca1e |
|
MD5 | a77704dec47efc28886c9193f5e6f9ea |
|
BLAKE2b-256 | ac790ecafc2424c9bb618a23053153ec787ba1fc682a22c042c0c80bfe91869b |
File details
Details for the file autograd_gamma-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: autograd_gamma-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 248b732e3931c23a1b590a3d59fc780b576facf53255ac87b2255a0692778032 |
|
MD5 | 139ae68b0f39cd79346e4c5dc6cd91c6 |
|
BLAKE2b-256 | cea5d37891c0a2e21af41be35895c982e0f5d6736f776100081452c1c8f41c4a |