ADMB Documentation
-a65f1c97
|
Go to the source code of this file.
Functions | |
double | betai (const double a, const double b, const double x, int maxit) |
Incomplete beta function for constant objects. More... | |
double | pbeta (const double x, const double a, const double b, int maxit) |
beta distribution function for constant objects (alias of ibeta function with same arguments order as in R). More... | |
double betai | ( | const double | a, |
const double | b, | ||
const double | x, | ||
int | maxit | ||
) |
Incomplete beta function for constant objects.
Author: David Fournier Copyright (c) 2009, 2010 ADMB Foundation
a | |
b | |
x | |
maxit | Maximum number of iterations for the continued fraction approximation in betacf. |
Definition at line 21 of file cbetai.cpp.
Referenced by inv_cumd_beta_stable(), old_inv_cumd_beta_stable(), and pbeta().
double pbeta | ( | const double | x, |
const double | a, | ||
const double | b, | ||
int | maxit | ||
) |
beta distribution function for constant objects (alias of ibeta function with same arguments order as in R).
x | |
a | |
b | |
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 47 of file cbetai.cpp.
Generated on Wed Sep 7 2022 00:01:30 for ADMB Documentation by 1.8.5 |