vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VSRandom Class Reference

#include <vs_random.h>

Public Member Functions

 VSRandom (unsigned int s)
 
void init_genrand (unsigned int s)
 
 VSRandom (unsigned int init_key[], unsigned int key_length)
 
unsigned int genrand_int32 (void)
 
int genrand_int31 (void)
 
unsigned int rand ()
 
double genrand_real1 (void)
 
double genrand_real2 (void)
 
double uniformInc (double min, double max)
 
double uniformExc (double min, double max)
 
double genrand_real3 (void)
 
double genrand_res53 (void)
 

Detailed Description

Definition at line 45 of file vs_random.h.

Constructor & Destructor Documentation

VSRandom::VSRandom ( unsigned int  s)
inline

Definition at line 72 of file vs_random.h.

VSRandom::VSRandom ( unsigned int  init_key[],
unsigned int  key_length 
)
inline

Definition at line 97 of file vs_random.h.

Member Function Documentation

int VSRandom::genrand_int31 ( void  )
inline

Definition at line 160 of file vs_random.h.

unsigned int VSRandom::genrand_int32 ( void  )
inline

Definition at line 129 of file vs_random.h.

double VSRandom::genrand_real1 ( void  )
inline

Definition at line 169 of file vs_random.h.

double VSRandom::genrand_real2 ( void  )
inline

Definition at line 175 of file vs_random.h.

double VSRandom::genrand_real3 ( void  )
inline

Definition at line 190 of file vs_random.h.

double VSRandom::genrand_res53 ( void  )
inline

Definition at line 196 of file vs_random.h.

void VSRandom::init_genrand ( unsigned int  s)
inline

Definition at line 76 of file vs_random.h.

unsigned int VSRandom::rand ( )
inline

Definition at line 164 of file vs_random.h.

double VSRandom::uniformExc ( double  min,
double  max 
)
inline

Definition at line 184 of file vs_random.h.

double VSRandom::uniformInc ( double  min,
double  max 
)
inline

Definition at line 180 of file vs_random.h.


The documentation for this class was generated from the following file: