ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vcumdcau.cpp
Go to the documentation of this file.
1 
9 #include <fvar.hpp>
10 
16 {
17  dvariable t;
18  const double r2=sqrt(2.0);
19  t=atan(x/r2);
20  return (0.5 + t/PI);
21 }
22 
28 {
29  const double r2=sqrt(2.0);
30  dvariable t=atan(x/r2);
31  return (0.5 + t/PI);
32 }
33 
39 {
40  const double r2=sqrt(2.0);
41  return (r2*tan(PI*(x-0.5)));
42 }
Base class for dvariable.
Definition: fvar.hpp:1315
d3_array tan(const d3_array &arr3)
Returns d3_array results with computed tan from elements in arr3.
Definition: d3arr2a.cpp:73
#define x
df1_one_variable atan(const df1_one_variable &x)
Definition: df11fun.cpp:312
dvariable kludge_cumd_cauchy(const prevariable &x)
Description not yet available.
Definition: vcumdcau.cpp:27
d3_array sqrt(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: d3arr2c.cpp:11
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double inv_cumd_cauchy(const double &x)
Description not yet available.
Definition: cumd_cau.cpp:49
double cumd_cauchy(const double &x)
Description not yet available.
Definition: cumd_cau.cpp:17
#define PI
Definition: fvar.hpp:95
Fundamental data type for reverse mode automatic differentiation.
Definition: fvar.hpp:1518