Graphviz 13.1.2~dev.20250807.2324
|
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | rk_state_ |
Macros | |
#define | INTERNAL /* nothing */ |
#define | RK_STATE_LEN 624 |
#define | RK_MAX 0xFFFFFFFFUL |
Typedefs | |
typedef struct rk_state_ | rk_state |
Functions | |
INTERNAL void | rk_seed (unsigned long seed, rk_state *state) |
INTERNAL unsigned long | rk_random (rk_state *state) |
INTERNAL unsigned long | rk_interval (unsigned long max, rk_state *state) |
#define INTERNAL /* nothing */ |
Definition at line 64 of file randomkit.h.
#define RK_MAX 0xFFFFFFFFUL |
Definition at line 78 of file randomkit.h.
#define RK_STATE_LEN 624 |
Definition at line 67 of file randomkit.h.
Definition at line 138 of file randomkit.c.
References rk_random(), and rk_ulong().
Referenced by fisheryates_shuffle().
Definition at line 97 of file randomkit.c.
References rk_state_::key, LOWER_MASK, M, MATRIX_A, N, rk_state_::pos, RK_STATE_LEN, and UPPER_MASK.
Referenced by rk_interval(), and rk_ulong().
Definition at line 75 of file randomkit.c.
References rk_state_::key, rk_state_::pos, RK_STATE_LEN, and seed.
Referenced by sgd().