Package0.1.4.0System
pcg-random
Haskell bindings to the PCG random number generator.
- Version0.1.4.0
- CategorySystem
- LicenceBSD-3-Clause
- AuthorChristopher Chalmers
- Maintainerc.chalmers@me.com
- Homepagegithub.com/cchalmers/pcg-random
- Pinned byhackage pcg-random 0.1.4.0
- Sourcehackage.haskell.org/package/pcg-random-0.1.4.0
Modules
7 modules- System.Random.PCG49Standard PCG Random Number Generator with chosen streams. See
- System.Random.PCG.Class41Classes for working with random numbers along with utility functions.
- System.Random.PCG.Fast49Fast variant of the PCG random number generator. This module performs
- System.Random.PCG.Fast.Pure48Experimental pure haskell version of the fast variant of the PCG
- System.Random.PCG.Pure51Standard PCG Random Number Generator with chosen streams, written in
- System.Random.PCG.Single49Single variant of the PCG random number generator. This module only
- System.Random.PCG.Unique41Unique variant of the PCG random number generator. Guarantees the
Description
PCG is a family of simple fast space-efficient statistically good algorithms for random number generation. Unlike many general-purpose RNGs, they are also hard to predict.
This library implements bindings to the standard C implementation. This includes the standard, unique, fast and single variants in the pcg family. There is a pure implementation that can be used as a generator with the random package as well as a faster primitive api that includes functions for generating common types.
The generators in this module are suitable for use in parallel but make sure threads don't share the same generator or things will go horribly wrong.
Depends on
5 packages- base-4.20.2.0with GHC
- bytestring-0.12.2.0with GHC
- entropy-0.4.1.11in this set
- primitive-0.9.1.0in this set
- random-1.2.1.3in this set