ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vnorlogmix.cpp
Go to the documentation of this file.
1 
9 #include <fvar.hpp>
10 
16  double spread)
17 {
18  dvariable y=cumd_norm(x);
19  y = 0.99999999*y + 0.000000005; // To gain numerical stability
21  return z;
22 }
23 
29  double spread)
30 {
31  dvariable y=cumd_norm(x);
32  y = 0.99999999*y + 0.000000005; // To gain numerical stability
33  dvariable z = inv_cumd_normal_mixture(y,spread);
34  return z;
35 }
Base class for dvariable.
Definition: fvar.hpp:1315
#define x
double robust_normal_mixture_deviate(double x, double spread)
Description not yet available.
Definition: cnorlogmix.cpp:130
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvariable inv_cumd_normal_logistic_mixture(const prevariable &_yy, double a)
Definition: cnorlogmix.cpp:87
double robust_normal_logistic_mixture_deviate(double x, double spread)
Description not yet available.
Definition: cnorlogmix.cpp:118
double cumd_norm(const double &x)
Culative normal distribution; constant objects.
Definition: cumdist.cpp:90
double inv_cumd_normal_mixture(double yy, double a)
Description not yet available.
Definition: cnormmix.cpp:90
Fundamental data type for reverse mode automatic differentiation.
Definition: fvar.hpp:1518