void RandomHypergeometric(TMtxVecInt *Dst, const int m, const int k, const int n);
Generates an array of integer samples distributed Hypergeometrically.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVecInt * | |
| 2 | m | const int | |
| 3 | k | const int | |
| 4 | n | const int |
Remarks:
Hypergeometric probability density function (PDF). Returns random numbers distributed according to the Hypergeometric probability density function (PDF) as defined here Probabilities::HypGeometricPDF. The number of samples generated is defined with the Dst.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.
Declared in Dew::Math::TRngStream · Dew.Math/RndGenerators.h · Cross-compiler