Download the PHP package emonkak/random without Composer
On this page you can find all versions of the php package emonkak/random. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download emonkak/random
More information about emonkak/random
Files in emonkak/random
Download emonkak/random
More information about emonkak/random
Files in emonkak/random
Vendor emonkak
Package random
Short Description A random number generator library
License MIT
Homepage https://github.com/emonkak/php-random
Package random
Short Description A random number generator library
License MIT
Homepage https://github.com/emonkak/php-random
Keywords random
Please rate this library. Is it a good library?
Informations about the package random
Emonkak\Random
This library provides pseudo-random number generators and probability distributions.
Requirements
- PHP 7.1 or higher
Licence
MIT Licence
Example
Engine
-
KnuthBEngine -
LinearCongruentialEngine -
MinstdRand0Engine -
MinstdRandEngine -
MT19937EngineThe random generator engine according to Mersenne Twister. It is full-compatible to the built-in
mt_rand(). -
MTRandWrapperThe wrapper for the built-in
mt_rand(). -
ShuffleOrderEngine -
XorShift128EngineThe random generator engine according to Xorshift 128 bit algorithm.
Distribution
BernoulliDistributionBinomialDistributionDiscreteDistributionDistributionIteratorExponentialDistributionGammaDistributionGeometricDistributionLogNormalDistributionNormalDistributionPiecewiseConstantDistributionPiecewiseLinerDistributionUniformIntDistributionUniformRealDistribution
All versions of random with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package emonkak/random contains the following files
Loading the files please wait ...