The random number library provides classes that generate random and pseudo-random numbers. The library
contains two types of components:
All engines (except the random_device) produce integer numbers in a uniform distribution using seed data as entropy source.
Random number distributions post-processe the output of an random number engine in such a way that the resulting output is distributed according to a defined statistical probability density function.
The follwing example prints the uniform distribution of an random generator.
Play around with different engines and distributions.
The #1 tech hiring platform