ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vbetdev.cpp
Go to the documentation of this file.
1 
9 #include <fvar.hpp>
10 
16  const prevariable& _x,double eps)
17 {
18  prevariable& x= (prevariable&)(_x);
19  prevariable& a= (prevariable&)(_a);
20  prevariable& b= (prevariable&)(_b);
21 
22  dvariable y=cumd_norm(x);
23  y=.9999999*y+.00000005;
24 
25  dvariable z=inv_cumd_beta_stable(a,b,y,eps);
26 
27  return z;
28 }
Base class for dvariable.
Definition: fvar.hpp:1315
#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
Fundamental data type for reverse mode automatic differentiation.
Definition: fvar.hpp:1518