void RandomUniform(TMtxVec *Dst, const double a, const double b);
Generates an array of samples distributed by Uniform distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec * | |
| 2 | a | const double | |
| 3 | b | const double |
Remarks:
Returns random numbers distributed according to the Uniform probability density function (PDF) as defined here Probabilities::UniformPDF. 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