Module dstats.random

Generates random samples from a various probability distributions. These are mostly D ports of the NumPy random number generators.

Functions

Name Description
randArray Convenience function to allow one-statement creation of arrays of random numbers.
randArray Allows the creation of an array of random numbers with an explicitly specified type. Useful, for example, when single-precision floats are all you need.
randRange Turn a random number generator function into an infinite range. Params is a tuple of the distribution parameters. This is specified in the same order as when calling the function directly.
rBernoulli
rBeta
rBinomial
rCauchy
rChiSquare
rExponential
rFisher
rGamma
rGeometric
rHypergeometric
rLaplace
rLogistic
rLogNorm
rNegBinom
rNorm
rPoisson
rRayleigh
rStudentT
rWald
rWeibull

Structs

Name Description
RandRange

Authors

Copyright

License