TRngStream Class

Header: Dew.Math/RndGenerators.h · Cross-compiler
tObjectTRngStream

class TRngStream : public tObject;

Random stream class.

Destructors

NameDescription
~TRngStream

Properties

NameTypeDescription
RngStreamintPtr

Methods

NameDescription
CopyCopies entire descriptor from another random stream.
CopyStateCopies the state from another stream.
Delete
LoadFromStreamLoads random generator stream state from Stream.
NewStream
RandomBernoulliGenerates an array of integer samples distributed by Bernoulli distribution.
RandomBetaGenerates an array of samples distributed by Beta distribution.
RandomBinomialGenerates an array of integer samples distributed Binomially.
RandomCauchyGenerates an array of samples distributed by Cauchy distribution.
RandomExponentialGenerates an array of samples distributed by Exponential distribution.
RandomGammaGenerates an array of samples distributed by Gamma distribution.
RandomGaussianGenerates an array of samples distributed by Gaussian distribution.
RandomGaussianMVGenerates random numbers from multivariate normal distribution.
RandomGeometricGenerates an array of integer samples distributed Geometrically.
RandomGumbelGenerates an array of samples distributed by Gumbel distribution.
RandomHypergeometricGenerates an array of integer samples distributed Hypergeometrically.
RandomLaplaceGenerates an array of samples distributed by Laplace distribution.
RandomLogNormalGenerates an array of samples distributed Lognormally.
RandomMultinomialGenerates multinomially distributed random numbers.
RandomNegbinomialGenerates an array of integer amples distributed according to the Negative binomial probability distribution.
RandomPoisson (2)Generates an array of integer samples distributed according to the Poisson probability distribution.
RandomRayleighGenerates an array of samples distributed by Rayleigh distribution.
RandomUniformGenerates an array of samples distributed by Uniform distribution.
RandomUniformBits32Generates uniformly distributed bits in 32-bit chunks
RandomUniformBits64Generates uniformly distributed bits in 64-bit chunks
RandomUniformBitsIGenerates integer random values with Uniform bit distribution.
RandomUniformIGenerates an array of integer samples distributed by Uniform distribution.
RandomWeibullGenerates an array of samples distributed by Weibull distribution.
SaveToStreamSaves random generator stream state to Stream.