Method PoissonRandom
PoissonRandom(double)
Sample from a poisson distribution Code from: https://www.johndcook.com/blog/csharp_poisson/
Declaration
public static float PoissonRandom(double lambda)
Parameters
Type | Name | Description |
---|---|---|
double | lambda | mean of the distribution |
Returns
Type | Description |
---|---|
float | Sample taken from Poisson(lambda) |