Go to the source code of this file.
Defines | |
#define | EPS 1.0e-9 |
#define | FPMIN 1.0e-30 |
Functions | |
double | betacf (const double a, const double b, const double x, int MAXIT) |
Incomplete beta function for constant objects. |
#define EPS 1.0e-9 |
Author: David Fournier Copyright (c) 2009, 2010 ADMB Foundation
Definition at line 9 of file cbetacf.cpp.
#define FPMIN 1.0e-30 |
Definition at line 10 of file cbetacf.cpp.
Referenced by betacf().
double betacf | ( | const double | a, |
const double | b, | ||
const double | x, | ||
int | MAXIT | ||
) |
Incomplete beta function for constant objects.
a | |
b | |
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 22 of file cbetacf.cpp.
Referenced by betai().
Generated on Tue Mar 8 2016 19:51:36 for ADMB Documentation by 1.8.0 |