(Last Changed on January
21,
2015 for git-revision 35e08d02d11c1256d9066e996ca5136d59b07b9a.)
#include <fvar.hpp>
#include <df32fun.h>
Go to the source code of this file.
|
df3_two_variable | cumd_gamma (const df3_two_variable &x, const df3_two_variable &a) |
|
dvariable | gamma_deviate (const prevariable &_x, const prevariable &_a) |
|
static double | gammp (double a, double x) |
|
static void | gcf (double &gammcf, double a, double x, double &gln) |
| Incomplete gamma function. More...
|
|
static double | get_initial_u (double a, double y) |
|
static void | gser (double &gamser, double a, double x, double &gln) |
| Incomplete gamma function. More...
|
|
dvariable | inv_cumd_gamma (const prevariable &_y, const prevariable &_a) |
|
double | Sn (double x, double a) |
|
static double gammp |
( |
double |
a, |
|
|
double |
x |
|
) |
| |
|
static |
static void gcf |
( |
double & |
gammcf, |
|
|
double |
a, |
|
|
double |
x, |
|
|
double & |
gln |
|
) |
| |
|
static |
Incomplete gamma function.
Continued fraction approximation.
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 6
static double get_initial_u |
( |
double |
a, |
|
|
double |
y |
|
) |
| |
|
static |
static void gser |
( |
double & |
gamser, |
|
|
double |
a, |
|
|
double |
x, |
|
|
double & |
gln |
|
) |
| |
|
static |
Incomplete gamma function.
Series approximation.
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 6
double Sn |
( |
double |
x, |
|
|
double |
a |
|
) |
| |