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

(Last Changed on August 23, 2016 for git-revision e20c285dba5893657e4f4ba5d3c4072cfcbca8f6.)

#include <df1b2fun.h>
#include "../linad99/betacf_val.hpp"

Go to the source code of this file.

Functions

df1b2variable betacf (const df1b2variable &a, const df1b2variable &b, double x, int MAXIT)
 Incomplete beta function for df1b2variable objects. More...
 
df1b2variable betacf (const df1b2variable &a, const df1b2variable &b, const df1b2variable &x, int MAXIT)
 
df1b2variable betai (const df1b2variable &a, const df1b2variable &b, double x, int maxit)
 Incomplete beta function for df1b2variable objects. More...
 
df1b2variable pbeta (double x, const df1b2variable &a, const df1b2variable &b, int maxit)
 beta distribution function for df1b2variable objects (alias of betai). More...
 
df1b2variable pbeta (const df1b2variable &x, const df1b2variable &a, const df1b2variable &b, int maxit)
 

Function Documentation

df1b2variable betacf ( const df1b2variable a,
const df1b2variable b,
double  x,
int  MAXIT 
)

Incomplete beta function for df1b2variable objects.

Id:
df1b2bet.cpp 789 2010-10-05 01:01:09Z johnoel

Author: David Fournier Copyright (c) 2008, 2009, 2010 Regents of the University of California

Evaluates the continued fraction for imcomplete beta function.

Parameters
_a$a$
_b$b$
_x$x$
MAXITMaximum number of iterations for the continued fraction approximation in betacf.
Returns
Incomplete beta function $I_x(a,b)$



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

Definition at line 97 of file df1b2bet.cpp.

df1b2variable betacf ( const df1b2variable a,
const df1b2variable b,
const df1b2variable x,
int  MAXIT 
)

Definition at line 13 of file df1b2bet.cpp.

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

Incomplete beta function for df1b2variable objects.

Parameters
a$a$
b$b$
x$x$
maxitMaximum number of iterations for the continued fraction approximation in betacf.
Returns
Incomplete beta function $I_x(a,b)$



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

Definition at line 56 of file df1b2bet.cpp.

df1b2variable pbeta ( double  x,
const df1b2variable a,
const df1b2variable b,
int  maxit 
)

beta distribution function for df1b2variable objects (alias of betai).

Parameters
x$x$
a$a$
b$b$
maxitMaximum number of iterations for the continued fraction approximation in betacf.
Returns
Incomplete beta function $I_x(a,b)$



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

Definition at line 81 of file df1b2bet.cpp.

df1b2variable pbeta ( const df1b2variable x,
const df1b2variable a,
const df1b2variable b,
int  maxit 
)

Definition at line 104 of file df1b2bet.cpp.