procedure RandomGamma(const Dst: TMtxVec; const alpha: Double; const a: Double; const beta: Double);
Generates an array of samples distributed by Gamma distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | |
| 2 | alpha | Double | |
| 3 | a | Double | |
| 4 | beta | Double |
Result: stored in self (calling object)
Remarks:
Returns random numbers distributed according to the Gamma probability density function (PDF). The number of samples generated is defined with the Dst.Length parameter. The result is an array which can be accessed via Dst.Values property.