ADMB Documentation
-a65f1c97
|
$Id$ More...
#include <fvar.hpp>
Go to the source code of this file.
Macros | |
#define | EPS 1.0e-9 |
#define | FPMIN 1.0e-30 |
#define | ITMAX 200 |
Functions | |
dvariable | cumd_gamma (const dvariable &x, const dvariable &a) |
void | gcf (const dvariable &_gammcf, const dvariable &a, const dvariable &x, const dvariable &_gln) |
Incomplete gamma function. More... | |
double | get_values (double x, double y, int print_switch) |
void | gser (const dvariable &_gamser, const dvariable &a, const dvariable &x, const dvariable &_gln) |
Incomplete gamma function. More... | |
$Id$
Author: David Fournier Copyright (c) 2009-2012 ADMB Foundation
This file deals with the Incomplete Gamma Functions of variable types. All supporting mathematical functions required to compute the Inmomplete Gamma Function are included. They being: gamma function, log gamma, and some polynomial evaluation functions.
Definition in file dfgammp.cpp.
#define EPS 1.0e-9 |
Definition at line 19 of file dfgammp.cpp.
#define FPMIN 1.0e-30 |
Definition at line 21 of file dfgammp.cpp.
Referenced by gcf().
#define ITMAX 200 |
Definition at line 18 of file dfgammp.cpp.
Definition at line 100 of file dfgammp.cpp.
void gcf | ( | const dvariable & | _gammcf, |
const dvariable & | a, | ||
const dvariable & | x, | ||
const dvariable & | _gln | ||
) |
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
Definition at line 30 of file dfgammp.cpp.
double get_values | ( | double | x, |
double | y, | ||
int | print_switch | ||
) |
void gser | ( | const dvariable & | _gamser, |
const dvariable & | a, | ||
const dvariable & | x, | ||
const dvariable & | _gln | ||
) |
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
Definition at line 66 of file dfgammp.cpp.
Generated on Wed Sep 7 2022 00:01:31 for ADMB Documentation by 1.8.5 |