TRngStream.RandomUniformI Method

void RandomUniformI(TMtxVecInt Dst, Int32 a, Int32 b)

Generates an array of integer samples distributed by Uniform distribution.

#NameTypeDescription
1DstTMtxVecIntsource TVecInt or TMtxInt
2aInt32
3bInt32

Result: stored in self (calling object)

Remarks:

Returns random numbers distributed according to the Uniform probability density function (PDF) as defined here Dew.Math.Units.Probabilities.UniformPDF. The number of samples generated is defined with the Dst.Length parameter. Dst is automatically resized to store 32bit integers, if needed.