QGIS API Documentation
2.6.0-Brighton
|
Macros | |
#define | M32(x) (0x80000000 & x) |
#define | L31(x) (0x7FFFFFFF & x) |
#define | ODD(x) (x & 1) |
#define | MD_UINT32_MAX std::numeric_limits<uint32_t>::max() |
#define | UNROLL |
Functions | |
static void | generate_numbers () |
void | seed (uint32_t value) |
uint32_t | rand_u32 () |
int | mt_rand () |
void | mt_srand (unsigned value) |
float | randf_cc () |
float | randf_co () |
float | randf_oo () |
double | randd_cc () |
double | randd_co () |
double | randd_oo () |
uint64_t | rand_u64 () |
Variables | |
static const unsigned | SIZE = 624 |
static const unsigned | PERIOD = 397 |
static const unsigned | DIFF = SIZE - PERIOD |
static uint32_t | MT [SIZE] |
static unsigned | index = 0 |
#define L31 | ( | x | ) | (0x7FFFFFFF & x) |
#define M32 | ( | x | ) | (0x80000000 & x) |
#define MD_UINT32_MAX std::numeric_limits<uint32_t>::max() |
#define ODD | ( | x | ) | (x & 1) |
#define UNROLL |
|
inlinestatic |
int mt_rand | ( | ) |
void mt_srand | ( | unsigned | 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 | value | ) |
|
static |
|
static |
|
static |
|
static |