Dew MtxVec NET
TRngStream.RandomGamma Method
Summary
Generates an array of samples distributed by Gamma distribution.

Class
TRngStream

Declaration
Procedure RandomGamma(Dst: TMtxVec; alpha, a, beta: TSample);

Description
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 2008 Dew Research
http://www.dewresearch.com