|
SST
12.0.1
StructuralSimulationToolkit
|
Creates an Poisson distribution for use within SST. More...
#include "sst/core/rng/poisson.h"
Public Member Functions | |
| PoissonDistribution (const double mn) | |
| Creates an Poisson distribution with a specific lambda. More... | |
| PoissonDistribution (const double mn, SST::RNG::Random *baseDist) | |
| Creates an Poisson distribution with a specific lambda and a base random number generator. More... | |
| ~PoissonDistribution () | |
| Destroys the Poisson distribution. | |
| double | getNextDouble () |
| Gets the next (random) double value in the distribution. More... | |
| double | getLambda () |
| Gets the lambda with which the distribution was created. More... | |
Public Member Functions inherited from SST::RNG::RandomDistribution | |
| virtual | ~RandomDistribution () |
| Destroys the distribution. | |
| RandomDistribution () | |
| Creates the base (abstract) class of a distribution. | |
Protected Attributes | |
| const double | lambda |
| Sets the lambda of the Poisson distribution. | |
| SST::RNG::Random * | baseDistrib |
| Sets the base random number generator for the distribution. | |
| bool | deleteDistrib |
| Controls whether the base distribution should be deleted when this class is destructed. | |
Creates an Poisson distribution for use within SST.
This distribution is the same across platforms and compilers.
|
inline |
Creates an Poisson distribution with a specific lambda.
| mn | The lambda of the Poisson distribution |
|
inline |
Creates an Poisson distribution with a specific lambda and a base random number generator.
| lambda | The lambda of the Poisson distribution |
| baseDist | The base random number generator to take the distribution from. |
|
inline |
Gets the lambda with which the distribution was created.
|
inlinevirtual |
Gets the next (random) double value in the distribution.
Implements SST::RNG::RandomDistribution.