ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
ranfill2.cpp File Reference

(Last Changed on August 06, 2022 for git-revision 808780089317c67198079de06b64df009a4a6543.)

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. More...
 
double randn (long int &n)
 Returns a random number. More...
 
void reinitialize_auto_rand ()
 Description not yet available. More...
 

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 84 of file ranfill.cpp.

double randn ( long int &  n)

Returns a random number.

Parameters
nseed

Definition at line 149 of file ranfill.cpp.

void reinitialize_auto_rand ( )

Description not yet available.

Parameters

Definition at line 71 of file ranfill.cpp.