Class pcg

Class Documentation

class pcg

Public Types

using result_type = uint32_t

Public Functions

inline pcg()
inline explicit pcg(uint64_t s)
inline explicit pcg(std::random_device &rd)
inline void seed(uint64_t s)
inline void seed(std::random_device &rd)
inline result_type operator()()
inline void discard(unsigned long long n)

Public Static Functions

static inline constexpr result_type() min ()
static inline constexpr result_type() max ()

Friends

friend bool operator==(pcg const&, pcg const&)
friend bool operator!=(pcg const&, pcg const&)