ADMB Documentation  11.1.2370
 All Classes Files Functions Variables Typedefs Friends Defines
Defines | Functions
df3gammp.cpp File Reference

(* $Id: df3gammp.cpp 1919 2014-04-22 22:02:01Z johnoel $)

#include <df1b2fun.h>

Go to the source code of this file.

Defines

#define EPS   1.0e-9
#define FPMIN   1.0e-30
#define ITMAX   100

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.
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.
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.
df1b2variable log_negbinomial_density (double x, const df1b2variable &_xmu, const df1b2variable &_xtau)

Define 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:
df3gammp.cpp 1919 2014-04-22 22:02:01Z johnoel

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

Definition at line 8 of file df3gammp.cpp.

Referenced by gcf(), and gser().


Function Documentation

Definition at line 170 of file df3gammp.cpp.

Definition at line 161 of file df3gammp.cpp.

Definition at line 146 of file df3gammp.cpp.

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.
\n\n The implementation of this algorithm was inspired by
"Numerical Recipes in C", 2nd edition,
Press, Teukolsky, Vetterling, Flannery, chapter 6
Deprecated:
Scheduled for replacement by 2010.

Definition at line 73 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.
\n\n The implementation of this algorithm was inspired by
"Numerical Recipes in C", 2nd edition,
Press, Teukolsky, Vetterling, Flannery, chapter 6
Deprecated:
Scheduled for replacement by 2010.

Definition at line 111 of file df3gammp.cpp.

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

Definition at line 15 of file df3gammp.cpp.