Dew MtxVec NET
TRngStream.RandomBinomial Method
Summary
Generates an array of integer samples distributed Binomially.

Class
TRngStream

Declaration
Procedure RandomBinomial(Dst: TMtxVec; n: integer; p: double);

Description
Returns random numbers distributed according to the Binomial probability density function (PDF) as defined here BinomPDF. The number of samples generated is defined with the Dst.Length parameter. The result is an array of integers which can be accessed via Dst.IValues property.

Copyright 2008 Dew Research
http://www.dewresearch.com