Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void RandomPoisson(TMtxVecInt *Dst, const double lambda, const TPoissonRandMethod Method = TPoissonRandMethod::prmPTPE); | Generates an array of integer samples distributed according to the Poisson probability distribution. |
| 2 | void RandomPoisson(TMtxVecInt *Dst, const DewArray<double> &lambda, const TPoissonRandMethod Method = TPoissonRandMethod::prmPTPE); | Generates an array of integer samples distributed according to the Poisson probability distribution. |
Overload 1: void RandomPoisson(TMtxVecInt *Dst, const double lambda, const TPoissonRandMethod Method = TPoissonRandMethod::prmPTPE);
Generates an array of integer samples distributed according to the Poisson probability distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVecInt * | |
| 2 | lambda | const double | |
| 3 | Method = TPoissonRandMethod::prmPTPE | const TPoissonRandMethod |
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, const DewArray<double> &lambda, const TPoissonRandMethod Method = TPoissonRandMethod::prmPTPE);
Generates an array of integer samples distributed according to the Poisson probability distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVecInt * | |
| 2 | lambda | const DewArray<double> & | |
| 3 | Method = TPoissonRandMethod::prmPTPE | const TPoissonRandMethod |
Returns random numbers distributed according to the Poisson probability density function (PDF) as defined here 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.