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

(Last Changed on July 14, 2016 for git-revision 1638d13544ae4b78ad43ec66266246f2c91df5cd.)

#include <df1b2fun.h>
#include <admodel.h>
#include <df3fun.h>
#include "df33fun.h"

Go to the source code of this file.

Macros

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

Functions

df3_three_variable betacf (const df3_three_variable &a, const df3_three_variable &b, const df3_three_variable &x)
 Incomplete beta function for df3_three_variable objects. More...
 
df3_three_variable betacf (const df3_three_variable &a, const df3_three_variable &b, double x)
 
df3_three_variable betai (const df3_three_variable &a, const df3_three_variable &b, const df3_three_variable &x, int maxit)
 Incomplete beta function for df3_three_variable objects. More...
 
df3_three_variable betai (const df3_three_variable &a, const df3_three_variable &b, double x, int maxit)
 
df3_three_variable gammln (const df3_three_variable &xx)
 
static df3_three_variable gammlnguts (const df3_three_variable &_z)
 
double inv_cumd_beta (double _a, double _b, double _y)
 
df1b2variable inv_cumd_beta_stable (const df1b2variable &a, const df1b2variable &b, const df1b2variable &x)
 
df1b2variable inv_cumd_beta_stable (const df1b2variable &a, const df1b2variable &b, const df1b2variable &x, double eps)
 
double inv_cumd_beta_stable (double _a, double _b, double _y, double eps)
 
df1b2variable qbeta (df1b2variable x, df1b2variable a, df1b2variable b, double eps)
 

Macro Definition Documentation

#define EPS   1.0e-9

Definition at line 11 of file df1b2invcumdbeta.cpp.

#define FPMIN   1.0e-30

Definition at line 13 of file df1b2invcumdbeta.cpp.

Referenced by betacf().

#define MAXIT   100
Id:
df1b2invcumdbeta.cpp 789 2010-10-05 01:01:09Z johnoel

Author: Unknown

Definition at line 10 of file df1b2invcumdbeta.cpp.

Referenced by betacf().

Function Documentation

df3_three_variable betacf ( const df3_three_variable a,
const df3_three_variable b,
const df3_three_variable x 
)

Incomplete beta function for df3_three_variable objects.

Parameters
a$a$
b$b$
x$x$ Evaluates the continued fraction approximation for imcomplete beta function.



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

Definition at line 296 of file df1b2invcumdbeta.cpp.

df3_three_variable betacf ( const df3_three_variable a,
const df3_three_variable b,
double  x 
)

Definition at line 243 of file df1b2invcumdbeta.cpp.

df3_three_variable betai ( const df3_three_variable a,
const df3_three_variable b,
const df3_three_variable x,
int  maxit 
)

Incomplete beta function for df3_three_variable objects.

\param a \form#0
\param b \form#1
\param x \form#2
\param maxit Maximum number of iterations for the continued fraction approximation in betacf.
\return Incomplete beta function \form#3

`

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

Definition at line 212 of file df1b2invcumdbeta.cpp.

df3_three_variable betai ( const df3_three_variable a,
const df3_three_variable b,
double  x,
int  maxit 
)

Definition at line 228 of file df1b2invcumdbeta.cpp.

df3_three_variable gammln ( const df3_three_variable xx)

Definition at line 365 of file df1b2invcumdbeta.cpp.

static df3_three_variable gammlnguts ( const df3_three_variable _z)
static

Definition at line 339 of file df1b2invcumdbeta.cpp.

double inv_cumd_beta ( double  _a,
double  _b,
double  _y 
)
df1b2variable inv_cumd_beta_stable ( const df1b2variable a,
const df1b2variable b,
const df1b2variable x 
)
df1b2variable inv_cumd_beta_stable ( const df1b2variable a,
const df1b2variable b,
const df1b2variable x,
double  eps 
)

Definition at line 47 of file df1b2invcumdbeta.cpp.

double inv_cumd_beta_stable ( double  _a,
double  _b,
double  _y,
double  eps 
)

Definition at line 120 of file ccumdbetainv.cpp.

Referenced by beta_deviate(), inv_cumd_beta_stable(), inv_cumd_t(), and qbeta().

df1b2variable qbeta ( df1b2variable  x,
df1b2variable  a,
df1b2variable  b,
double  eps 
)

Definition at line 380 of file df1b2invcumdbeta.cpp.