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
- System.Random.PCGStandard PCG Random Number Generator with chosen streams. See
- System.Random.PCG.ClassClasses for working with random numbers along with utility functions.
- System.Random.PCG.FastFast variant of the PCG random number generator. This module performs
- System.Random.PCG.Fast.PureExperimental pure haskell version of the fast variant of the PCG
- System.Random.PCG.PureStandard PCG Random Number Generator with chosen streams, written in
- System.Random.PCG.SingleSingle variant of the PCG random number generator. This module only
- System.Random.PCG.UniqueUnique 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.23.0.0with GHC
- bytestring-0.12.2.0with GHC
- entropy-0.4.1.11in this set
- primitive-0.9.1.0in this set
- random-1.3.1in this set