QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions
mersenne-twister.h File Reference
#include <stdint.h>
#include <limits>
Include dependency graph for mersenne-twister.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MD_RAND_MAX   std::numeric_limits<int32_t>::max()
 

Functions

void mt_srand (unsigned seed_value)
 
int mt_rand ()
 
uint32_t rand_u32 ()
 
uint64_t rand_u64 ()
 
void seed (uint32_t seed_value)
 
float randf_cc ()
 
float randf_co ()
 
float randf_oo ()
 
double randd_cc ()
 
double randd_co ()
 
double randd_oo ()
 

Macro Definition Documentation

#define MD_RAND_MAX   std::numeric_limits<int32_t>::max()

Function Documentation

int mt_rand ( )
void mt_srand ( unsigned  seed_value)
uint32_t rand_u32 ( )
uint64_t rand_u64 ( )
double randd_cc ( )
double randd_co ( )
double randd_oo ( )
float randf_cc ( )
float randf_co ( )
float randf_oo ( )
void seed ( uint32_t  seed_value)