ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dvar.cpp
Go to the documentation of this file.
1 
9 #include "fvar.hpp"
10 
11 #ifdef __TURBOC__
12  #pragma hdrstop
13  #include <iostream.h>
14  #include <iomanip.h>
15 #endif
16 
17 #ifdef __ZTC__
18  #include <iostream.hpp>
19  #include <iomanip.hpp>
20 #endif
21 
22 #include <stdio.h>
23 #include <math.h>
24 
31 double sigmoid(const double v1)
32 {
33  return(atan(v1)/2.8);
34 }
double sigmoid(const double v1)
Returns computed sigmoid value at v1.
Definition: dvar.cpp:31
df1_one_variable atan(const df1_one_variable &x)
Definition: df11fun.cpp:312
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.