Extends php BCMath lib for missing functions like floor, ceil, round, abs, min, max, rand for big numbers. Also wraps existing BCMath functions.
-
Updated
Jan 25, 2023 - PHP
Extends php BCMath lib for missing functions like floor, ceil, round, abs, min, max, rand for big numbers. Also wraps existing BCMath functions.
🌪 Mersenne Twister implementation backed by rand_core
A replacement for rand()/srand() that's ~700% faster and typically has better statistical distribution. An adaptationof Melissa O'Neill's PCG rand with a fallback to xor-rand for 32-bit code.
Report various statistics stemming from a confusion matrix in a tidy fashion. 🎯
Unpredictable number generator.
Create an iterator for a 32-bit Mersenne Twister pseudorandom number generator.
Standard library generic random functions.
Log-normally distributed pseudorandom numbers.
Fill a strided array with pseudorandom numbers drawn from a Poisson distribution.
Arcsine distributed pseudorandom numbers.
Uniformly distributed pseudorandom numbers between 0 and 1.
Create a readable stream for generating pseudorandom numbers drawn from a discrete uniform distribution.
Create an iterator for generating pseudorandom numbers drawn from a beta prime distribution.
Add a description, image, and links to the rand topic page so that developers can more easily learn about it.
To associate your repository with the rand topic, visit your repo's landing page and select "manage topics."