Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Diff of /trunk/gadget/mathfunc.h
[mareframe] / trunk / gadget / mathfunc.h Repository:
ViewVC logotype

Diff of /trunk/gadget/mathfunc.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10, Wed Jun 10 13:01:42 2015 UTC revision 11, Thu Jul 23 19:00:38 2015 UTC
# Line 113  Line 113 
113    return (k / 32767.0);    return (k / 32767.0);
114  }  }
115    
116    //FIXME doc
117    inline double randomNumber(unsigned* seed) {
118    //      cout << "RN:" << *seed << endl;;
119      int r = rand_r(seed);
120      double k = r % 32767;
121      return (k / 32767.0);
122    }
123    
124  /**  /**
125   * \brief This function will calculate the calculate the effective annual mortality caused by a given predation on a specified population during a timestep   * \brief This function will calculate the calculate the effective annual mortality caused by a given predation on a specified population during a timestep
126   * \param pred is the number that is removed from the population by the predation   * \param pred is the number that is removed from the population by the predation

Legend:
Removed from v.10  
changed lines
  Added in v.11

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge