ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cbetdev.cpp
Go to the documentation of this file.
1 
8 #include <fvar.hpp>
9 
14 double beta_deviate(double a,double b,double x,double eps)
15 {
16  double y=cumd_norm(x);
17  y=.9999999*y+.00000005;
18  double z=inv_cumd_beta_stable(a,b,y,eps);
19  return z;
20 }
#define x
double inv_cumd_beta_stable(double a, double b, double y, double eps)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double eps
Definition: ftweak.cpp:13
double cumd_norm(const double &x)
Culative normal distribution; constant objects.
Definition: cumdist.cpp:90
double beta_deviate(double a, double b, double x, double eps)
Description not yet available.
Definition: cbetdev.cpp:14