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

#include <RandNumGen.h>

Public Member Functions

 RandNumGen (int min, int max)
 
 ~RandNumGen ()=default
 
int generate ()
 

Private Attributes

std::mt19937 d_gen
 
std::uniform_int_distribution< int > d_dis
 

Constructor & Destructor Documentation

◆ RandNumGen()

dftefe::utils::RandNumGen< int >::RandNumGen ( int  min,
int  max 
)

◆ ~RandNumGen()

dftefe::utils::RandNumGen< int >::~RandNumGen ( )
default

Member Function Documentation

◆ generate()

int dftefe::utils::RandNumGen< int >::generate ( )

Member Data Documentation

◆ d_dis

std::uniform_int_distribution<int> dftefe::utils::RandNumGen< int >::d_dis
private

◆ d_gen

std::mt19937 dftefe::utils::RandNumGen< int >::d_gen
private

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