mt19937ar.cc File Reference

#include "AppHdr.h"
#include <stdio.h>
#include <string.h>
#include <stack>

Include dependency graph for mt19937ar.cc:


Classes

struct  mtrng_state

Defines

#define N   624
#define M   397
#define MATRIX_A   0x9908b0dfUL
#define UPPER_MASK   0x80000000UL
#define LOWER_MASK   0x7fffffffUL

Functions

void push_mt_state ()
void pop_mt_state ()
void init_genrand (unsigned long s)
void init_by_array (unsigned long init_key[], int key_length)
unsigned long genrand_int32 (void)

Define Documentation

#define LOWER_MASK   0x7fffffffUL

#define M   397

#define MATRIX_A   0x9908b0dfUL

#define N   624

#define UPPER_MASK   0x80000000UL


Function Documentation

unsigned long genrand_int32 ( void   ) 

Here is the call graph for this function:

void init_by_array ( unsigned long  init_key[],
int  key_length 
)

Here is the call graph for this function:

void init_genrand ( unsigned long  s  ) 

void pop_mt_state (  ) 

void push_mt_state (  ) 


Generated on Thu Jan 13 13:16:47 2011 by  doxygen 1.5.6