Package Info

ghc-mwc-random


Fast, high quality pseudo random number generation


Unspecified

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.


License: BSD-2-Clause
URL: https://hackage.haskell.org/package/mwc-random

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.15.0.2-bp155.3.14 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.15.0.2-bp154.2.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.14.0.0-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.14.0.0-bp152.4.11 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.14.0.0-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.14.0.0-bp151.1.11 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.13.6.0-bp150.2.7 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.13.6.0-bp150.2.6 info GA Release 2018-07-30 15
  • AArch64
  • x86-64
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.13.4.0-2.5 info 5585 2016-09-14 12 GA-SP5
  • ppc64le
  • ghc-mwc-random
  • ghc-mwc-random-devel
0.13.4.0-2.14 info 5585 2016-09-14 12 GA-SP5
  • AArch64
  • s390x
  • x86-64
  • ghc-mwc-random
  • ghc-mwc-random-devel