|
Library of Assembled Shared Sources
|
an exponential distribution mapper. More...
#include <distribution.h>
Public Member Functions | |
| DistributionExponential () | |
| construct an empty distribution. | |
| DistributionExponential (TGenerator &generator, TParam rateOfChange=TNumTraits::one) | |
| construct a normal distribution mapper | |
an exponential distribution mapper.
template arguments:
reference: Numerical Recipes in C: The Art of Scientific Computing, section 7.2
Definition at line 137 of file distribution.h.
| lass::num::DistributionExponential< T, RG >::DistributionExponential | ( | ) |
construct an empty distribution.
Definition at line 166 of file distribution.inl.
Referenced by distributeExponential().
| lass::num::DistributionExponential< T, RG >::DistributionExponential | ( | TGenerator & | generator, |
| TParam | rateOfChange = TNumTraits::one ) |
construct a normal distribution mapper
| generator | random number generator to be used as input. Lifespan of generator must be at least that of the distribution. |
| mean | mean of distribution |
| stddev | standard deviation of |
Definition at line 180 of file distribution.inl.