Skip to main content

autograd-gamma

PyPI version

autograd compatible approximations to the derivatives of the Gamma-family of functions.

Tutorial

from autograd import grad
from autograd_gamma import gammainc, gammaincc, 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.)



from autograd_gamma import betainc, betaincln

grad(betainc, argnum=0)(1., 2., 0.5)
grad(betainc, argnum=1)(1., 2., 0.5)

# logarithmic functions too.
grad(betaincln, argnum=0)(1., 2., 0.5)
grad(betaincln, argnum=1)(1., 2., 0.5)

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.

Metadata

Release files for autograd-gamma 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autograd-gamma 0.5.0
File Size Uploaded
autograd-gamma-0.5.0.tar.gz 4.0 kB Details

Release files / autograd-gamma-0.5.0.tar.gz

Download URL autograd-gamma-0.5.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f27abb7b8bb9cffc8badcbf59f3fe44a9db39e124ecacf1992b6d952934ac9c4
BLAKE2b-256 checksum
How to use checksums
85ae7f2031ea76140444b2453fa139041e5afd4a09fc5300cfefeb1103291f80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.3

1 release file

0.4.2

2 release files

0.4.1

3 release files

0.4.0

3 release files

0.3.0

3 release files

0.2.0

3 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page