QGIS API Documentation  3.6.0-Noosa (5873452)
Macros | Functions
mersenne-twister.h File Reference
#include <cstdint>
#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()
 
#define SIP_NO_FILE
 

Functions

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)
 

Macro Definition Documentation

◆ MD_RAND_MAX

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

Definition at line 47 of file mersenne-twister.h.

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 27 of file mersenne-twister.h.

Function Documentation

◆ mt_rand()

int mt_rand ( )

Definition at line 171 of file mersenne-twister.cpp.

◆ mt_srand()

void mt_srand ( unsigned  seed_value)

Definition at line 191 of file mersenne-twister.cpp.

◆ rand_u32()

uint32_t rand_u32 ( )

Definition at line 152 of file mersenne-twister.cpp.

◆ rand_u64()

uint64_t rand_u64 ( )

Definition at line 226 of file mersenne-twister.cpp.

◆ randd_cc()

double randd_cc ( )

Definition at line 211 of file mersenne-twister.cpp.

◆ randd_co()

double randd_co ( )

Definition at line 216 of file mersenne-twister.cpp.

◆ randd_oo()

double randd_oo ( )

Definition at line 221 of file mersenne-twister.cpp.

◆ randf_cc()

float randf_cc ( )

Definition at line 196 of file mersenne-twister.cpp.

◆ randf_co()

float randf_co ( )

Definition at line 201 of file mersenne-twister.cpp.

◆ randf_oo()

float randf_oo ( )

Definition at line 206 of file mersenne-twister.cpp.

◆ seed()

void seed ( uint32_t  seed_value)

Definition at line 111 of file mersenne-twister.cpp.