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

Generates an array of samples distributed by Gamma distribution.

Pascal
procedure RandomGamma(const Dst: TMtxVec; const alpha: double; const a: double; const beta: double);

Returns random numbers distributed according to the Gamma 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.

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