|
Infinity Engine v0.6.20
C++ API Documentation
|
Parameter set for the distribution. More...
#include <PRNGDistribution.hpp>
Public Types | |
| using | distribution_type = PoissonDistribution< IntType > |
Public Member Functions | |
| param_type () | |
| Default constructor. Creates parameters for mean=1.0. | |
| param_type (double mean) | |
| Constructs parameters. | |
| double | mean () const |
| Gets the mean (rate) parameter. | |
Friends | |
| bool | operator== (const param_type &lhs, const param_type &rhs) |
| bool | operator!= (const param_type &lhs, const param_type &rhs) |
Parameter set for the distribution.
Stores the mean (rate) parameter of the Poisson distribution.
| using Infinity::Engine::PoissonDistribution< IntType >::param_type::distribution_type = PoissonDistribution<IntType> |
|
inline |
Default constructor. Creates parameters for mean=1.0.
|
inlineexplicit |
Constructs parameters.
| mean | Mean number of events (must be > 0), also called lambda or rate |
|
inline |
Gets the mean (rate) parameter.
|
friend |
|
friend |