biomcmc-lib  0.1
low level library for phylogenetic analysis
Variables
random_number_aux.h File Reference

Variables and structures local to random_number.c (should be opaque to user) More...

Go to the source code of this file.

Variables

uint64_t sTable76 [44][5]
 Five-element streams for L'ecuyer's combined LFSR (Tausworthe) generator. More...
 
uint64_t sTable543 [106][4]
 Four-element streams for L'ecuyer's combined LFSR (Tausworthe) generator.
 
uint64_t qTable76 [2][5] = { {1ULL, 7ULL, 24ULL, 3ULL, 5ULL}, {1ULL, 24ULL, 3ULL, 5ULL, 3ULL} }
 
uint64_t kTable76 [2][5] = { {63ULL, 57ULL, 55ULL, 52ULL, 47ULL}, {63ULL, 55ULL, 52ULL, 47ULL, 41ULL} }
 
uint64_t qTable543 [4][4]
 
uint64_t kTable543 [4][4]
 
uint64_t Cmask [28]
 
uint32_t marsaglia_constants [81]
 

Detailed Description

Variables and structures local to random_number.c (should be opaque to user)

Variable Documentation

◆ sTable76

uint64_t sTable76[44][5]
Initial value:
= {
{9ULL, 34ULL, 5ULL, 26ULL, 18ULL}, {9ULL, 32ULL, 5ULL, 31ULL, 6ULL}, {9ULL, 25ULL, 5ULL, 37ULL, 22ULL},
{10ULL, 24ULL, 5ULL, 7ULL, 12ULL}, {12ULL, 17ULL, 5ULL, 14ULL, 8ULL}, {12ULL, 40ULL, 5ULL, 16ULL, 22ULL},
{12ULL, 26ULL, 5ULL, 34ULL, 23ULL}, {17ULL, 27ULL, 5ULL, 13ULL, 9ULL}, {17ULL, 8ULL, 5ULL, 37ULL, 19ULL},
{20ULL, 41ULL, 5ULL, 14ULL, 6ULL}, {22ULL, 40ULL, 5ULL, 4ULL, 18ULL}, {22ULL, 19ULL, 5ULL, 14ULL, 19ULL},
{22ULL, 41ULL, 5ULL, 16ULL, 6ULL}, {22ULL, 16ULL, 5ULL, 32ULL, 4ULL}, {26ULL, 9ULL, 5ULL, 11ULL, 14ULL},
{26ULL, 19ULL, 5ULL, 29ULL, 3ULL}, {44ULL, 20ULL, 5ULL, 8ULL, 6ULL}, {44ULL, 31ULL, 5ULL, 22ULL, 14ULL},
{53ULL, 8ULL, 5ULL, 23ULL, 17ULL}, {53ULL, 12ULL, 5ULL, 31ULL, 18ULL},
{10ULL, 5ULL, 29ULL, 23ULL, 8ULL}, {12ULL, 5ULL, 11ULL, 16ULL, 15ULL}, {17ULL, 5ULL, 16ULL, 6ULL, 7ULL},
{17ULL, 5ULL, 19ULL, 16ULL, 14ULL}, {18ULL, 5ULL, 37ULL, 7ULL, 3ULL}, {19ULL, 5ULL, 31ULL, 15ULL, 13ULL},
{20ULL, 5ULL, 11ULL, 13ULL, 6ULL}, {22ULL, 5ULL, 17ULL, 10ULL, 11ULL}, {23ULL, 5ULL, 37ULL, 13ULL, 7ULL},
{24ULL, 5ULL, 7ULL, 16ULL, 8ULL}, {26ULL, 5ULL, 22ULL, 4ULL, 9ULL}, {26ULL, 5ULL, 26ULL, 13ULL, 12ULL},
{26ULL, 5ULL, 31ULL, 14ULL, 13ULL}, {36ULL, 5ULL, 32ULL, 16ULL, 8ULL}, {36ULL, 5ULL, 32ULL, 21ULL, 8ULL},
{39ULL, 5ULL, 19ULL, 6ULL, 8ULL}, {43ULL, 5ULL, 14ULL, 20ULL, 15ULL}, {44ULL, 5ULL, 14ULL, 15ULL, 15ULL},
{44ULL, 5ULL, 29ULL, 6ULL, 13ULL}, {44ULL, 5ULL, 34ULL, 25ULL, 9ULL}, {45ULL, 5ULL, 16ULL, 21ULL, 8ULL},
{51ULL, 5ULL, 28ULL, 3ULL, 12ULL}, {53ULL, 5ULL, 26ULL, 16ULL, 8ULL}, {54ULL, 5ULL, 28ULL, 13ULL, 3ULL}
}

Five-element streams for L'ecuyer's combined LFSR (Tausworthe) generator.

◆ qTable543

uint64_t qTable543[4][4]
Initial value:
= {
{31ULL, 1ULL, 19ULL, 22ULL}, {31ULL, 11ULL, 19ULL, 22ULL}, {1ULL, 19ULL, 7ULL, 24ULL}, {31ULL, 19ULL, 24ULL, 21ULL}
}

◆ kTable543

uint64_t kTable543[4][4]
Initial value:
= {
{63ULL, 60ULL, 58ULL, 57ULL}, {63ULL, 60ULL, 58ULL, 57ULL}, {63ULL, 58ULL, 57ULL, 55ULL}, {63ULL, 58ULL, 55ULL, 47ULL}
}

◆ Cmask

uint64_t Cmask[28]
Initial value:
= {
0xfffffffff0000000ULL, 0xfffffffff8000000ULL, 0xfffffffffc000000ULL, 0xfffffffffe000000ULL,
0xffffffffff000000ULL, 0xffffffffff800000ULL, 0xffffffffffc00000ULL, 0xffffffffffe00000ULL,
0xfffffffffff00000ULL, 0xfffffffffff80000ULL, 0xfffffffffffc0000ULL, 0xfffffffffffe0000ULL,
0xffffffffffff0000ULL, 0xffffffffffff8000ULL, 0xffffffffffffc000ULL, 0xffffffffffffe000ULL,
0xfffffffffffff000ULL, 0xfffffffffffff800ULL, 0xfffffffffffffc00ULL, 0xfffffffffffffe00ULL,
0xffffffffffffff00ULL, 0xffffffffffffff80ULL, 0xffffffffffffffc0ULL, 0xffffffffffffffe0ULL,
0xfffffffffffffff0ULL, 0xfffffffffffffff8ULL, 0xfffffffffffffffcULL, 0xfffffffffffffffeULL
}

◆ marsaglia_constants

uint32_t marsaglia_constants[81]
Initial value:
= {
18000, 18030, 18273, 18513, 18879, 19074, 19098, 19164, 19215, 19584, 19599, 19950, 20088, 20508, 20544, 20664, 20814,
20970, 21153, 21243, 21423, 21723, 21954, 22125, 22188, 22293, 22860, 22938, 22965, 22974, 23109, 23124, 23163, 23208,
23508, 23520, 23553, 23658, 23865, 24114, 24219, 24660, 24699, 24864, 24948, 25023, 25308, 25443, 26004, 26088, 26154,
26550, 26679, 26838, 27183, 27258, 27753, 27795, 27810, 27834, 27960, 28320, 28380, 28689, 28710, 28794, 28854, 28959,
28980, 29013, 29379, 29889, 30135, 30345, 30459, 30714, 30903, 30963, 31059, 31083, 36969
}