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

#include <rng.h>

Collaboration diagram for RNG::ExponentialDistribution:
Collaboration graph

Public Member Functions

 ExponentialDistribution (double lambda)
 
double value ()
 
std::string to_string () const
 

Private Attributes

SHR3rand_
 
double lambda_
 

Detailed Description

Definition at line 194 of file rng.h.

Constructor & Destructor Documentation

RNG::ExponentialDistribution::ExponentialDistribution ( double  lambda)
inline

Definition at line 202 of file rng.h.

References RNG::SHR3::construct(), and RNG::UniformInteger::value().

Here is the call graph for this function:

Member Function Documentation

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

Member Data Documentation

double RNG::ExponentialDistribution::lambda_
private

Definition at line 199 of file rng.h.

SHR3* RNG::ExponentialDistribution::rand_
private

Definition at line 197 of file rng.h.


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