void RandomBeta(TMtxVec *Dst, const double p, const double q, const double a, const double beta);
Generates an array of samples distributed by Beta distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec * | |
| 2 | p | const double | |
| 3 | q | const double | |
| 4 | a | const double | |
| 5 | beta | const double |
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.
Declared in Dew::Math::TRngStream · Dew.Math/RndGenerators.h · Cross-compiler