Poisson distribution
Poisson(Number lambda, Integer offset, Integer min, Integer max)
The probability distribution of the number of events when the expected number of events is lambda, supported on the set { 0, 1, 2, 3, … }.
Parameters
- Number lambda - the expected number of events.
- Integer offset - (optional) optional parameter to add a constant to the returned result, default is 0
- Integer min - (optional) optional parameter to specify a condition that the number of events must be greater than or equal to this mininum, default is 0.
- Integer max - (optional) optional parameter to specify a condition that the number of events must be less than or equal to this maximum
Return type
Examples
- expression4.lphy
- simpleRandomLocalClock2.lphy