void RandomMultinomial(TVecInt Dst, Int32 nTrials, Int32 k, Double[] p)
Generates multinomially distributed random numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TVecInt | source TVecInt |
| 2 | nTrials | Int32 | |
| 3 | k | Int32 | |
| 4 | p | Double[] |
Result: stored in self (calling object)
Remarks:
The function generates multinomially distributed random numbers with m independent trials and k possible mutually exclusive outcomes, with corresponding probabilities in p.