Internal library for generating pseudo-random numbers.
More...
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <math.h>
#include <sys/time.h>
#include "GenLib.h"
|
void | InitPRNG (uint64_t Seed, PRNGState *State) |
| Initialization of the PRNG using Splitmix64 from S. Vigna and D. Lemire. More...
|
|
uint32_t | ValPRNGi (PRNGState *State) |
| Generation of one pseudo-random int at a time using Lehmer64 RNG (D. Lemire version) More...
|
|
uint64_t | ValPRNGl (PRNGState *State) |
| Generation of one pseudo-random long int at a time using Lehmer64 RNG (D. Lemire version) More...
|
|
◆ InitPRNG()
void InitPRNG |
( |
uint64_t |
Seed, |
|
|
PRNGState * |
State |
|
) |
| |
◆ ValPRNGi()
◆ ValPRNGl()