MeteoIODoc 20241221.207bde49
mio::RngMtw Class Reference

#include <RandomNumberGenerator.h>

Public Member Functions

 RngMtw ()
 
uint64_t int64 ()
 
uint32_t int32 ()
 
void getState (std::vector< uint64_t > &ovec_seed) const
 
void setState (const std::vector< uint64_t > &ivec_seed)
 
- Public Member Functions inherited from mio::RngCore
 RngCore ()
 
virtual ~RngCore ()
 
virtual uint64_t int64 ()=0
 
virtual uint32_t int32 ()=0
 
virtual void getState (std::vector< uint64_t > &ovec_seed) const =0
 
virtual void setState (const std::vector< uint64_t > &ivec_seed)=0
 
bool getUniqueSeed (uint64_t &store) const
 

Additional Inherited Members

- Public Attributes inherited from mio::RngCore
bool hardware_seed_success
 
- Protected Member Functions inherited from mio::RngCore
uint64_t combine32to64 (const uint32_t &low, const uint32_t &high) const
 
double doubFromInt (const uint64_t &rn) const
 
double trueDoub ()
 

Constructor & Destructor Documentation

◆ RngMtw()

mio::RngMtw::RngMtw ( )

Member Function Documentation

◆ getState()

void mio::RngMtw::getState ( std::vector< uint64_t > &  ovec_seed) const
virtual

Implements mio::RngCore.

◆ int32()

uint32_t mio::RngMtw::int32 ( )
virtual

Implements mio::RngCore.

◆ int64()

uint64_t mio::RngMtw::int64 ( )
virtual

Implements mio::RngCore.

◆ setState()

void mio::RngMtw::setState ( const std::vector< uint64_t > &  ivec_seed)
virtual

Implements mio::RngCore.


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