ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Defines | Functions
rngen.cpp File Reference

($Id$)

Description not yet available. More...

#include "fvar.hpp"

Go to the source code of this file.

Defines

#define LOWER_MASK   0x7fffffffUL /* least significant r bits */
#define M   397
#define MATRIX_A   0x9908b0dfUL /* constant vector a */
#define N   624
#define UPPER_MASK   0x80000000UL /* most significant w-r bits */

Functions

double randn (const random_number_generator &rng)
 Normal number generator.
double randu (const random_number_generator &rng)
 Uniform random number generator.

Detailed Description

Description not yet available.

Definition in file rngen.cpp.


Define Documentation

#define LOWER_MASK   0x7fffffffUL /* least significant r bits */

Definition at line 60 of file rngen.cpp.

Referenced by random_number_generator::better_rand().

#define M   397
#define MATRIX_A   0x9908b0dfUL /* constant vector a */

Definition at line 58 of file rngen.cpp.

Referenced by random_number_generator::better_rand().

#define N   624
#define UPPER_MASK   0x80000000UL /* most significant w-r bits */

Definition at line 59 of file rngen.cpp.

Referenced by random_number_generator::better_rand().