randPoisson

Syntax

randPoisson(mean, count)

Arguments

mean is the mean of a Poisson distribution.

count is the number of random values to be generated.

Details

Return a vector of random values with Poisson distribution.

Examples

randPoisson(2.31, 2);
// output
[7, 2]