|
LAMMP 4.1.0
Lamina High-Precision Arithmetic Library
|
rand_state.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:结构体 | |
| struct | pcg64_128_state |
| struct | pcg64_le_seq_t |
| struct | xoshiro256pp_state |
宏定义 | |
| #define | INLINE_ static inline |
| #define | PCG128_DEFAULT_MULTIPLIER_HI 0x2360ED051FC65DA4ULL |
| #define | PCG128_DEFAULT_MULTIPLIER_LO 0x4385DF649FCCF645ULL |
| #define | PCG64_LE_INCREMENT 1442695040888963407ULL |
| #define | PCG64_LE_MULTIPLIER 6364136223846793005ULL |
| #define | PRIME64_0 0x9E3779B185EBCA87ULL |
| #define | PRIME64_1 0xC2B2AE3D27D4EB4FULL |
| #define | PRIME64_2 0x165667B19E3779F9ULL |
| #define | PRIME64_3 0x85EBCA77C2B2AE63ULL |
| #define | PRIME64_4 0x27D4EB2F165667C5ULL |
函数 | |
| static mp_limb_t | lmmp_pcg64_128_random (pcg64_128_state *rng) |
| static void | lmmp_pcg64_128_srandom (pcg64_128_state *rng, mp_limb_t seed) |
| static mp_limb_t | lmmp_seed_generator (mp_limb_t seed) |
| 种子生成器 | |
| static mp_limb_t | lmmp_xoshiro256pp_random (xoshiro256pp_state *rng) |
| static void | lmmp_xoshiro256pp_srandom (xoshiro256pp_state *rng, mp_limb_t seed) |
| static void | pcg64_128_action (mp_limb_t state[2], const mp_limb_t inc[2]) |
| static mp_limb_t | pcg64_le_action (mp_limb_t *restrict state) |
| static void | pcg64_le_seq_init (pcg64_le_seq_t *rng, mp_size_t i, mp_limb_t seed) |
| static void | pcg64_le_seq_next (mp_ptr restrict dst, mp_size_t n, pcg64_le_seq_t *rng) |
| static mp_limb_t | rotl (const mp_limb_t x, int k) |
| struct pcg64_128_state |
| struct pcg64_le_seq_t |
| struct xoshiro256pp_state |
| #define INLINE_ static inline |
在文件 rand_state.h 第 38 行定义.
| #define PCG128_DEFAULT_MULTIPLIER_HI 0x2360ED051FC65DA4ULL |
在文件 rand_state.h 第 34 行定义.
| #define PCG128_DEFAULT_MULTIPLIER_LO 0x4385DF649FCCF645ULL |
在文件 rand_state.h 第 35 行定义.
| #define PCG64_LE_INCREMENT 1442695040888963407ULL |
在文件 rand_state.h 第 131 行定义.
| #define PCG64_LE_MULTIPLIER 6364136223846793005ULL |
在文件 rand_state.h 第 130 行定义.
| #define PRIME64_0 0x9E3779B185EBCA87ULL |
| #define PRIME64_1 0xC2B2AE3D27D4EB4FULL |
| #define PRIME64_2 0x165667B19E3779F9ULL |
| #define PRIME64_3 0x85EBCA77C2B2AE63ULL |
| #define PRIME64_4 0x27D4EB2F165667C5ULL |
|
inlinestatic |
在文件 rand_state.h 第 77 行定义.
引用了 pcg64_128_state::inc, lmmp_param_assert, pcg64_128_action() , 以及 pcg64_128_state::state.
被这些函数引用 lmmp_seed_random_().
函数调用图:
这是这个函数的调用关系图:
|
inlinestatic |
在文件 rand_state.h 第 62 行定义.
引用了 pcg64_128_state::inc, lmmp_param_assert, lmmp_seed_generator(), pcg64_128_action() , 以及 pcg64_128_state::state.
被这些函数引用 lmmp_seed_random_().
函数调用图:
这是这个函数的调用关系图:种子生成器
| seed | 低熵种子 |
在文件 rand_state.h 第 46 行定义.
被这些函数引用 lmmp_global_rng_init_(), lmmp_pcg64_128_srandom(), lmmp_random_(), lmmp_strong_rng_extern_(), lmmp_strong_rng_init_(), lmmp_xoshiro256pp_srandom(), pcg64_le_seq_init() , 以及 pcg64_le_seq_next().
这是这个函数的调用关系图:
|
inlinestatic |
在文件 rand_state.h 第 94 行定义.
引用了 lmmp_param_assert, rotl() , 以及 xoshiro256pp_state::s.
被这些函数引用 lmmp_seed_random_() , 以及 lmmp_xoshiro256pp_srandom().
函数调用图:
这是这个函数的调用关系图:
|
inlinestatic |
在文件 rand_state.h 第 109 行定义.
引用了 lmmp_param_assert, lmmp_seed_generator(), lmmp_xoshiro256pp_random() , 以及 xoshiro256pp_state::s.
被这些函数引用 lmmp_seed_random_().
函数调用图:
这是这个函数的调用关系图:在文件 rand_state.h 第 53 行定义.
引用了 _u128add, _umul64to128_(), PCG128_DEFAULT_MULTIPLIER_HI , 以及 PCG128_DEFAULT_MULTIPLIER_LO.
被这些函数引用 lmmp_pcg64_128_random() , 以及 lmmp_pcg64_128_srandom().
函数调用图:
这是这个函数的调用关系图:在文件 rand_state.h 第 178 行定义.
引用了 PCG64_LE_INCREMENT , 以及 PCG64_LE_MULTIPLIER.
被这些函数引用 pcg64_le_seq_next().
这是这个函数的调用关系图:
|
inlinestatic |
在文件 rand_state.h 第 138 行定义.
引用了 pcg64_le_seq_t::k, lmmp_param_assert, lmmp_seed_generator(), PRIME64_0, PRIME64_1, PRIME64_2, PRIME64_3, PRIME64_4, rotl(), s1, s2, s3 , 以及 pcg64_le_seq_t::state.
被这些函数引用 lmmp_strong_rng_extern_() , 以及 lmmp_strong_rng_init_().
函数调用图:
这是这个函数的调用关系图:
|
inlinestatic |
在文件 rand_state.h 第 192 行定义.
引用了 pcg64_le_seq_t::k, k, lmmp_param_assert, lmmp_seed_generator(), pcg64_le_action(), PCG64_LE_INCREMENT, PCG64_LE_MULTIPLIER , 以及 pcg64_le_seq_t::state.
被这些函数引用 lmmp_strong_random_().
函数调用图:
这是这个函数的调用关系图:在文件 rand_state.h 第 89 行定义.
引用了 k.
被这些函数引用 lmmp_random_(), lmmp_strong_rng_extern_(), lmmp_strong_rng_init_(), lmmp_xoshiro256pp_random() , 以及 pcg64_le_seq_init().
这是这个函数的调用关系图: