Parameters
double lambda
The lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
Random randomSource
The random number generator which is used to draw random samples.
Distribution is described at.
Knuth's method is used to generate Poisson distributed random variables.
f(x) = exp(-λ)*λ^x/x!;
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
Random randomSourceThe random number generator which is used to draw random samples.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
double xThe location at which to compute the cumulative distribution function.
doublethe cumulative distribution at location x.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
int kThe location in the domain where we want to evaluate the probability mass function.
doublethe probability mass at location k.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
int kThe location in the domain where we want to evaluate the log probability mass function.
doublethe log probability mass at location k.
Random rndThe random number generator to use.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
intA sample from the Poisson distribution.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
intA sample from the Poisson distribution.
Int32[] valuesThe array to fill with the samples.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
voida sequence of samples from the distribution.
Random rndThe random number generator to use.
Int32[] valuesThe array to fill with the samples.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
voida sequence of samples from the distribution.
Random rndThe random number generator to use.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
IEnumerable<int>a sequence of samples from the distribution.
double lambdaThe lambda (λ) parameter of the Poisson distribution. Range: λ > 0.
IEnumerable<int>a sequence of samples from the distribution.
double xThe location at which to compute the cumulative distribution function.
doublethe cumulative distribution at location x.
int kThe location in the domain where we want to evaluate the probability mass function.
doublethe probability mass at location k.
int kThe location in the domain where we want to evaluate the log probability mass function.
doublethe log probability mass at location k.
intA sample from the Poisson distribution.
IEnumerable<int>a sequence of successes in N trials.
Approximation, see Wikipedia
Approximation, see Wikipedia