37#if !defined(LIBCOYOTL_MWC256_H)
38#define LIBCOYOTL_MWC256_H
53 static const size_t N = 256;
A STL-compatible array class.
Definition array.h:73
Implements MWC256, a peudorandom number generator.
Definition mwc256.h:50
mwc256()
Default constructor, reading seed from/dev/urandom or the time.
mwc256(uint32_t seed)
Default constructor, with optional seed.
virtual uint32_t get_rand()
Get the next integer.
virtual void init(uint32_t seed)
Initializes the generator with "seed".
An abstract definition of a peudorandom number generator.
Definition prng.h:55