TRngStream::RandomUniformI Method

void RandomUniformI(TMtxVecInt *Dst, const int a, const int b);

Generates an array of integer samples distributed by Uniform distribution.

#NameTypeDescription
1DstTMtxVecInt *
2aconst int
3bconst int
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. Dst is automatically resized to store 32bit integers, if needed.

Declared in Dew::Math::TRngStream · Dew.Math/RndGenerators.h · Cross-compiler