poissonPMF

fun poissonPMF(j: Int, mean: Double, recursive: Boolean = true): Double

Allows static computation of prob mass function assumes that distribution's range is {0,1, ...}

Return

the PMF value

Parameters

j

value for which prob is needed

mean

of the distribution

recursive

true indicates that the recursive logarithmic algorithm should be used