#include <random.h>
A 32 bit random number generator. Uses a 128 bit XOR shift algorithm. https://en.wikipedia.org/wiki/Xorshift
◆ random_xorshift() [1/2]
etl::random_xorshift::random_xorshift |
( |
| ) |
|
|
inline |
Default constructor. Attempts to come up with a unique non-zero seed.
◆ random_xorshift() [2/2]
etl::random_xorshift::random_xorshift |
( |
uint32_t |
seed | ) |
|
|
inline |
Constructor with seed value.
- Parameters
-
◆ initialise()
Initialises the sequence with a new seed value.
- Parameters
-
The documentation for this class was generated from the following file: