ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
dvar.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00011 // file fvar_fn.cpp
00012 // math.h functions involving prevariables
00013 #include "fvar.hpp"
00014 
00015 
00016 #ifdef __TURBOC__
00017   #pragma hdrstop
00018   #include <iostream.h>
00019    #include <iomanip.h>
00020 #endif
00021 
00022 #ifdef __ZTC__
00023   #include <iostream.hpp>
00024    #include <iomanip.hpp>
00025 #endif
00026 
00027 #include <stdio.h>
00028 #include <math.h>
00029 
00034 double sigmoid(const double v1)
00035  {
00036    return(atan(v1)/2.8);
00037  }