SST/macro
Public Member Functions | Private Attributes | List of all members
RNG::NormalDistribution Class Reference

#include <rng.h>

Collaboration diagram for RNG::NormalDistribution:
Collaboration graph

Public Member Functions

 NormalDistribution (double mean, double stdev, double maxZ=2.0, rngint_t seed=0)
 
 ~NormalDistribution ()
 
double value ()
 
std::string to_string () const
 

Private Attributes

SHR3rand_
 
double mean_
 
double stdev_
 
double maxZ_
 
bool reuse_
 
double Y_
 

Detailed Description

Definition at line 216 of file rng.h.

Constructor & Destructor Documentation

RNG::NormalDistribution::NormalDistribution ( double  mean,
double  stdev,
double  maxZ = 2.0,
rngint_t  seed = 0 
)
RNG::NormalDistribution::~NormalDistribution ( )

Member Function Documentation

std::string RNG::NormalDistribution::to_string ( ) const
double RNG::NormalDistribution::value ( )

Member Data Documentation

double RNG::NormalDistribution::maxZ_
private

Definition at line 225 of file rng.h.

double RNG::NormalDistribution::mean_
private

Definition at line 221 of file rng.h.

SHR3* RNG::NormalDistribution::rand_
private

Definition at line 219 of file rng.h.

bool RNG::NormalDistribution::reuse_
private

Definition at line 227 of file rng.h.

double RNG::NormalDistribution::stdev_
private

Definition at line 223 of file rng.h.

double RNG::NormalDistribution::Y_
private

Definition at line 229 of file rng.h.


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