Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void RandomPoisson(TMtxVecInt Dst, Double lambda, TPoissonRandMethod Method) | Generates an array of integer samples distributed according to the Poisson probability distribution. |
| 2 | void RandomPoisson(TMtxVecInt Dst, Double[] lambda, TPoissonRandMethod Method) | Generates an array of integer samples distributed according to the Poisson probability distribution. |
Overload 1: void RandomPoisson(TMtxVecInt Dst, Double lambda, TPoissonRandMethod Method)
Generates an array of integer samples distributed according to the Poisson probability distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | lambda | Double | scalar |
| 3 | Method | TPoissonRandMethod |
Result: stored in self (calling object)
The lambda parameter is the same for all random numbers generated. Dst is automatically resized to store 32bit integers, if needed.
Overload 2: void RandomPoisson(TMtxVecInt Dst, Double[] lambda, TPoissonRandMethod Method)
Generates an array of integer samples distributed according to the Poisson probability distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | lambda | Double[] | |
| 3 | Method | TPoissonRandMethod |
Result: stored in self (calling object)
Returns random numbers distributed according to the Poisson probability density function (PDF) as defined here Dew.Math.Units.Probabilities.PoissonPDF. The lambda parameter can be different for each random number generated, The number of samples generated is defined with the Lambda.Length parameter. The result is an array of integers which can be accessed via Dst.IValues property. Dst is automatically resized to store 32bit integers, if needed.