12 #ifndef _H_SST_CORE_RNG_UNIFORM 
   13 #define _H_SST_CORE_RNG_UNIFORM 
   20 using namespace SST::RNG;
 
   42                         probPerBin = 1.0 / 
static_cast<double>( probCount );
 
   58                         probPerBin = 1.0 / 
static_cast<double>( probCount );
 
   61                 baseDistrib = baseDist;
 
   78                 const double nextD = baseDistrib->nextUniform();
 
   79                 uint32_t current_bin = 1;
 
   81                 while( nextD > ( static_cast<double>( current_bin ) * probPerBin ) ) {
 
   85                 return static_cast<double>( current_bin - 1 );
 
Base class of statistical distributions in SST. 
Definition: distrib.h:24
 
Implements a Mersenne-based RNG for use in the SST core or components. 
Definition: mersenne.h:34
 
Implements the base class for random number generators for the SST core. 
Definition: sstrng.h:27