|
CX Framework
Cross-platform C utility framework
|
Modules | |
| Linear Congruential Generator (LCG) | |
| Initialization | |
| Random Number Generation | |
| State Manipulation | |
Data Structures | |
| struct | PcgState |
Typedefs | |
| typedef struct PcgState | PcgState |
Utilities for random number generation
The PCG (Permuted Congruential Generator) is a family of simple fast space-efficient statistically good algorithms for random number generation. PCG combines carefully chosen linear congruential generator with a permutation function to produce high-quality random output.
Key features:
Basic usage: