ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
df3gammp.cpp File Reference

(Last Changed on November 25, 2015 for git-revision 0952c5b67e5eff8d230aa13e43961a7c286482c1.)

#include <df1b2fun.h>

Go to the source code of this file.

Macros

#define EPS   1.0e-9
 
#define FPMIN   1.0e-30
 
#define ITMAX   100
 $Id$ More...
 

Functions

df3_two_variable cumd_cauchy (const df3_two_variable &x, const df3_two_variable &a)
 
df3_two_variable cumd_exponential (const df3_two_variable &x, const df3_two_variable &a)
 
df3_two_variable cumd_gamma (const df3_two_variable &x, const df3_two_variable &a)
 
df3_two_variable gammln (const df3_two_variable &xx)
 Log gamma function. More...
 
void gcf (const df3_two_variable &_gammcf, const df3_two_variable &a, const df3_two_variable &x, const df3_two_variable &_gln)
 Incomplete gamma function. More...
 
double get_values (double x, double y, int print_switch)
 
void gser (const df3_two_variable &_gamser, const df3_two_variable &a, const df3_two_variable &x, const df3_two_variable &_gln)
 Incomplete gamma function. More...
 
df1b2variable log_negbinomial_density (double x, const df1b2variable &_xmu, const df1b2variable &_xtau)
 

Macro Definition Documentation

#define EPS   1.0e-9

Definition at line 9 of file df3gammp.cpp.

#define FPMIN   1.0e-30

Definition at line 11 of file df3gammp.cpp.

Referenced by gcf().

#define ITMAX   100

$Id$

Author: David Fournier Copyright (c) 2009-2012 ADMB Foundation

Definition at line 8 of file df3gammp.cpp.

Referenced by gcf(), and gser().

Function Documentation

df3_two_variable cumd_cauchy ( const df3_two_variable x,
const df3_two_variable a 
)

Definition at line 166 of file df3gammp.cpp.

df3_two_variable cumd_exponential ( const df3_two_variable x,
const df3_two_variable a 
)

Definition at line 157 of file df3gammp.cpp.

df3_two_variable cumd_gamma ( const df3_two_variable x,
const df3_two_variable a 
)

Definition at line 142 of file df3gammp.cpp.

df3_two_variable gammln ( const df3_two_variable xx)

Log gamma function.

Parameters
xx$x$
Returns
$\ln\bigr(\Gamma(x)\bigl)$



The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 6

Definition at line 46 of file df3gammp.cpp.

void gcf ( const df3_two_variable _gammcf,
const df3_two_variable a,
const df3_two_variable x,
const df3_two_variable _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 71 of file df3gammp.cpp.

double get_values ( double  x,
double  y,
int  print_switch 
)
void gser ( const df3_two_variable _gamser,
const df3_two_variable a,
const df3_two_variable x,
const df3_two_variable _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 107 of file df3gammp.cpp.

df1b2variable log_negbinomial_density ( double  x,
const df1b2variable _xmu,
const df1b2variable _xtau 
)

Definition at line 15 of file df3gammp.cpp.