You are here: Symbol Reference > RndGenerators Namespace > Classes > TRngStream Class > public > TRngStream.RandomUniform Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TRngStream.RandomUniform Method

Generates an array of samples distributed by Uniform distribution.

Pascal
procedure RandomUniform(const Dst: TMtxVec; const a: double; const b: double);

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!