DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::utils::RandNumGen< unsigned short > Class Reference

#include <RandNumGen.h>

Public Member Functions

 RandNumGen (unsigned short min, unsigned short max)
 
 ~RandNumGen ()=default
 
unsigned short generate ()
 

Private Attributes

std::mt19937 d_gen
 
std::uniform_int_distribution< unsigned short > d_dis
 

Constructor & Destructor Documentation

◆ RandNumGen()

dftefe::utils::RandNumGen< unsigned short >::RandNumGen ( unsigned short  min,
unsigned short  max 
)

◆ ~RandNumGen()

dftefe::utils::RandNumGen< unsigned short >::~RandNumGen ( )
default

Member Function Documentation

◆ generate()

unsigned short dftefe::utils::RandNumGen< unsigned short >::generate ( )

Member Data Documentation

◆ d_dis

std::uniform_int_distribution<unsigned short> dftefe::utils::RandNumGen< unsigned short >::d_dis
private

◆ d_gen

std::mt19937 dftefe::utils::RandNumGen< unsigned short >::d_gen
private

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