ADMB Documentation  11.1.1913
 All Classes Files Functions Variables Typedefs Friends Defines
Functions
ranfill2.cpp File Reference

(* $Id: ranfill2.cpp 1112 2013-07-12 21:41:41Z johnoel $)

Description not yet available. More...

#include <fvar.hpp>
#include <math.h>

Go to the source code of this file.

Functions

double auto_rand (long int &idum, int reset)
 Random number generator.
double randn (long int &n)
 Description not yet available.
void reinitialize_auto_rand ()
 Description not yet available.

Detailed Description

Description not yet available.

Definition in file ranfill2.cpp.


Function Documentation

double auto_rand ( long int &  idum,
int  reset 
)

Random number generator.



The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 7

Definition at line 57 of file ranfill.cpp.

double randn ( long int &  n)

Description not yet available.

Parameters:

Definition at line 128 of file ranfill.cpp.

Description not yet available.

Parameters:

Definition at line 45 of file ranfill.cpp.