#include <df1b2fun.h>
Go to the source code of this file.
Defines | |
#define | EPS double(1.0e-9) |
#define | FPMIN double(1.0e-30) |
Functions | |
df1b2variable | betacf (const df1b2variable &a, const df1b2variable &b, double x, int MAXIT) |
Incomplete beta function for df1b2variable objects. | |
df1b2variable | betai (const df1b2variable &a, const df1b2variable &b, double x, int maxit) |
Incomplete beta function for df1b2variable objects. |
#define EPS double(1.0e-9) |
Author: David Fournier Copyright (c) 2008, 2009, 2010 Regents of the University of California
Definition at line 9 of file df1b2bet.cpp.
#define FPMIN double(1.0e-30) |
Definition at line 10 of file df1b2bet.cpp.
Referenced by betacf().
df1b2variable betacf | ( | const df1b2variable & | a, |
const df1b2variable & | b, | ||
double | x, | ||
int | MAXIT | ||
) |
Incomplete beta function for df1b2variable objects.
Evaluates the continued fraction for imcomplete beta function.
_a | |
_b | |
_x | |
MAXIT | Maximum number of iterations for the continued fraction approximation in betacf. |
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 betai | ( | const df1b2variable & | a, |
const df1b2variable & | b, | ||
double | x, | ||
int | maxit | ||
) |
Incomplete beta function for df1b2variable objects.
a | |
b | |
x | |
maxit | Maximum number of iterations for the continued fraction approximation in betacf. |
The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2
Definition at line 29 of file df1b2bet.cpp.
Generated on Tue Mar 8 2016 19:51:36 for ADMB Documentation by 1.8.0 |