Probability mass function of the Poisson distribution. Equivalent to R's dpois(x, lambda, log = FALSE).
dpois(x, lambda, log = FALSE)
Value(s) at which to evaluate: a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
Mean.
log (see DensityOptions).
log
The probability (or log probability).
dpois(2, 3); // 0.22404180765538775dpois([0, 1, 2], 3); // [0.049787068367863944, 0.14936120510359185, 0.22404180765538775] Copy
dpois(2, 3); // 0.22404180765538775dpois([0, 1, 2], 3); // [0.049787068367863944, 0.14936120510359185, 0.22404180765538775]
Probability mass function of the Poisson distribution. Equivalent to R's
dpois(x, lambda, log = FALSE).