Random number generators, probability distributions, combinatorics and statistics for Java.. #Probability distribution #Number generator #Math library #Math #Mathematics #Distribution
The Uncommons Maths Open Source library is built to provide five easy-to-use, statistically sound, high-performance pseudorandom number generators (RNGs).
These are: MersenneTwisterRNG · A Java port of the fast and reliable Mersenne Twister RNG originally developed by Makoto Matsumoto and Takuji Nishimura. It is faster than java.util.Random, does not have the same statistical flaws as that RNG and also has a long period (219937). The Mersenne Twister is an excellent general purpose RNG. XORShiftRNG · A Java implementation of the very fast PRNG described by George Marsaglia. It has a period of about 2160, which although much shorter than the Mersenne Twister's, is still significantly longer than that of java.util.Random. This is the RNG to use when performance is the primary concern. It can be up to twice as fast as the Mersenne Twister. CMWC4096RNG · A Java implementation of a Complementary-Multiply-With-Carry (CMWC) RNG as described by George Marsaglia. It has an extremely long period (2131104) and performance comparable to the Mersenne Twister (though the Mersenne Twister has the advantage of only requiring 16 bytes of seed data rather than the 16 kilobytes required by the CMWC RNG). AESCounterRNG · This is a cryptographically-strong1 non-linear RNG that is around 10x faster than java.security.SecureRandom. Reverse-engineering the generator state from observations of its output would involve cracking the AES block cipher. CellularAutomatonRNG · A Java port of Tony Pasqualoni's fast Cellular Automaton RNG. It uses a 256-cell automaton to generate random values.
System requirements
What's new in Uncommons Maths 1.2.2:
- Fixed serialisation of MersenneTwisterRNG and CellularAutomatonRNG.
- Made XORShiftRNG and CMWC4096RNG thread-safe.
- Added source JAR to distribution.
Uncommons Maths 1.2.2
add to watchlist add to download basket send us an update REPORT- runs on:
- Windows All
- file size:
- 1.7 MB
- filename:
- uncommons-maths-1.2.2.zip
- main category:
- Programming
- developer:
- visit homepage
calibre
Windows Sandbox Launcher
ShareX
Microsoft Teams
7-Zip
4k Video Downloader
Zoom Client
Bitdefender Antivirus Free
Context Menu Manager
IrfanView
- Bitdefender Antivirus Free
- Context Menu Manager
- IrfanView
- calibre
- Windows Sandbox Launcher
- ShareX
- Microsoft Teams
- 7-Zip
- 4k Video Downloader
- Zoom Client