Fleet  0.0.9
Inference in the LOT
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Rng Class Reference

#include <Rng.h>

Inheritance diagram for Rng:
Inheritance graph
[legend]
Collaboration diagram for Rng:
Collaboration graph
[legend]

Public Member Functions

 Rng ()
 
void seed (unsigned long s)
 Seed only if s is nonzero. More...
 

Static Public Member Functions

static size_t sysrandom (void *dst, size_t dstlen)
 

Static Public Attributes

static std::mutex mymut
 
static Rngbase = nullptr
 

Detailed Description

Author
Steven Piantadosi
Date
15/06/21

Constructor & Destructor Documentation

◆ Rng()

Rng::Rng ( )
inline

Member Function Documentation

◆ seed()

void Rng::seed ( unsigned long  s)
inline

Seed only if s is nonzero.

◆ sysrandom()

static size_t Rng::sysrandom ( void *  dst,
size_t  dstlen 
)
inlinestatic

Member Data Documentation

◆ base

Rng * Rng::base = nullptr
static

◆ mymut

std::mutex Rng::mymut
static

The documentation for this class was generated from the following file: