Platforms to show: All Mac Windows Linux Cross-Platform

RandomPoissonDistributionMBS(Mean as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Math MBS Util Plugin 24.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Generates a random number using poisson distribution.
Example
// simulate the number of customers per hour, which is 12 on average
Var counts() As String
For hour As Integer = 9 To 17
counts.Add hour.ToString + ":00 " + RandomPoissonDistributionMBS(12).ToString
Next
MessageBox String.FromArray(counts, EndOfLine)

Produces random non-negative integer values i, distributed according to discrete probability function.

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...