#include <random.h>
A 32 bit random number generator. Uses a combined linear congruential generator. https://cs.adelaide.edu.au/~paulc/teaching/montecarlo/node107.html
◆ random_clcg() [1/2]
etl::random_clcg::random_clcg |
( |
| ) |
|
|
inline |
Default constructor. Attempts to come up with a unique non-zero seed.
◆ random_clcg() [2/2]
etl::random_clcg::random_clcg |
( |
uint32_t |
seed | ) |
|
|
inline |
Constructor with seed value.
- Parameters
-
◆ initialise()
void etl::random_clcg::initialise |
( |
uint32_t |
seed | ) |
|
|
inline |
Initialises the sequence with a new seed value.
- Parameters
-
The documentation for this class was generated from the following file: