The mwc-random package
This package contains code for generating high quality random numbers that follow either a uniform or normal distribution. The generated numbers are suitable for use in statistical applications.
The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) multiply-with-carry generator, which has a period of 2^8222 and fares well in tests of randomness. It is also extremely fast, between 2 and 3 times faster than the Mersenne Twister.
Compared to the mersenne-random package, this package has a more convenient API, is faster, and supports more statistical distributions.
Properties
| Versions | 0.4.1, 0.4.1.1, 0.5.0.0, 0.5.1.1, 0.5.1.2, 0.5.1.3, 0.5.1.4, 0.6.0.0, 0.7.0.0, 0.7.0.1, 0.8.0.0, 0.8.0.1, 0.8.0.2, 0.8.0.3, 0.8.0.5, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.11.0.0, 0.12.0.0, 0.12.0.1 |
|---|---|
| Dependencies | base (<5), primitive, time, vector (≥0.5) |
| License | BSD3 |
| Copyright | 2009, 2010, 2011 Bryan O'Sullivan |
| Author | Bryan O'Sullivan <bos@serpentine.com> |
| Maintainer | Bryan O'Sullivan <bos@serpentine.com> |
| Category | Math, Statistics |
| Home page | https://bitbucket.org/bos/mwc-random |
| Bug tracker | https://bitbucket.org/bos/mwc-random/issues |
| Source repository | hg clone https://bitbucket.org/bos/mwc-random |
| Upload date | Sat Jul 16 05:40:07 UTC 2011 |
| Uploaded by | BryanOSullivan |
| Built on | ghc-7.0, ghc-7.2 |
| Distributions | Fedora: 0.12.0.1, NixOS: 0.12.0.1, Debian: 0.5.0.0, FreeBSD: 0.12.0.1 |
Modules
- System
- Random
Downloads
- mwc-random-0.8.0.5.tar.gz (Cabal source package)
- package description (included in the package)