ADMB Documentation  11.1.2192
 All Classes Files Functions Variables Typedefs Friends Defines
Defines | Functions
df1b2invcumdbeta.cpp File Reference

(* $Id: df1b2invcumdbeta.cpp 789 2010-10-05 01:01:09Z johnoel $)

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

Go to the source code of this file.

Defines

#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.
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.
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)

Define 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

Incomplete beta function for df3_three_variable objects.

\param a \form#0
\param b \form#1
\param x \form#2
Evaluates the continued fraction approximation for imcomplete beta function.

\n\n The implementation of this algorithm was inspired by
"Numerical Recipes in C", 2nd edition,
Press, Teukolsky, Vetterling, Flannery, chapter 2
Deprecated:
Scheduled for replacement by 2010.

Definition at line 291 of file df1b2invcumdbeta.cpp.

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

Definition at line 236 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 205 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 221 of file df1b2invcumdbeta.cpp.

Definition at line 360 of file df1b2invcumdbeta.cpp.

static df3_three_variable gammlnguts ( const df3_three_variable _z) [static]

Definition at line 334 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 23 of file ccumdbetainv.cpp.

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