ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
df1b2cum.cpp
Go to the documentation of this file.
1 
5 #include <df1b2fun.h>
6 
12 {
13  if (value(y)<=0.5)
14  return log(2.0*y);
15  else
16  return log(2.0*(1-y));
17 }
18 
24 {
25  if (value(x)<=0.0)
26  return 0.5*exp(x);
27  else
28  return 1.0-0.5*exp(-x);
29 }
double inv_cumd_exponential(double y)
Description not yet available.
Definition: ccumdexp.cpp:14
#define x
Description not yet available.
Definition: df1b2fun.h:266
d3_array exp(const d3_array &arr3)
Returns d3_array results with computed exp from elements in arr3.
Definition: d3arr2a.cpp:28
double cumd_exponential(double x)
Description not yet available.
Definition: ccumdexp.cpp:26
Description not yet available.
dvector value(const df1_one_vector &v)
Definition: df11fun.cpp:69
d3_array log(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: d3arr2a.cpp:13