procedure RandomBeta(Dst: TMtxVec; p: Double; q: Double; a: Double; beta: Double);
Generates an array of samples distributed by Beta distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | source TVec or TMtx |
| 2 | p | Double | scalar |
| 3 | q | Double | scalar |
| 4 | a | Double | scalar |
| 5 | beta | Double | scalar |
Result: stored in self (calling object)
Remarks:
Returns random numbers distributed according to the Beta 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.