tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mt19937ar.h File Reference
#include <stdio.h>
Include dependency graph for mt19937ar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

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

Functions

void init_genrand (unsigned long mt[], unsigned long *mtiPtr, unsigned long s)
 
void init_by_array (unsigned long mt[], unsigned long *mtiPtr, unsigned long init_key[], long key_length)
 
unsigned long genrand_int32 (unsigned long mt[], unsigned long *mtiPtr)
 
long genrand_int31 (unsigned long mt[], unsigned long *mtiPtr)
 
double genrand_real1 (unsigned long mt[], unsigned long *mtiPtr)
 
double genrand_real2 (unsigned long mt[], unsigned long *mtiPtr)
 
double genrand_real3 (unsigned long mt[], unsigned long *mtiPtr)
 
double genrand_res53 (unsigned long mt[], unsigned long *mtiPtr)
 

Macro Definition Documentation

#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 */

Function Documentation

long genrand_int31 ( unsigned long  mt[],
unsigned long *  mtiPtr 
)

Here is the call graph for this function:

unsigned long genrand_int32 ( unsigned long  mt[],
unsigned long *  mtiPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

double genrand_real1 ( unsigned long  mt[],
unsigned long *  mtiPtr 
)

Here is the call graph for this function:

double genrand_real2 ( unsigned long  mt[],
unsigned long *  mtiPtr 
)

Here is the call graph for this function:

double genrand_real3 ( unsigned long  mt[],
unsigned long *  mtiPtr 
)

Here is the call graph for this function:

double genrand_res53 ( unsigned long  mt[],
unsigned long *  mtiPtr 
)

Here is the call graph for this function:

void init_by_array ( unsigned long  mt[],
unsigned long *  mtiPtr,
unsigned long  init_key[],
long  key_length 
)

Here is the call graph for this function:

void init_genrand ( unsigned long  mt[],
unsigned long *  mtiPtr,
unsigned long  s 
)

Here is the caller graph for this function: