| Signature | Description | Parameters |
|---|---|---|
template<typename T> std::vector<T> gen_poisson_dist(std::size_t n, const RandGenParams<T> ¶ms = { }); |
Produces random non-negative integer values i, distributed according to discrete probability function:
-u i
e u
P(i|u) = ------------
i!
It returns the vector of resultsOptional parameters to set: mean, seed |
T: Type can only be [unsigned] char, [unsigned] short, [unsigned] int, [unsigned] long int, or [unsigned] long long int n: Number of numerics to generate params: List of all applicable parameters, see DataFrameTypes.h |