random-variates-0.1.5.1: "Uniform RNG => Non-Uniform RNGs"

Safe HaskellSafe
LanguageHaskell2010

Stochastic.Generators.Discrete

Documentation

class DiscreteSample g where Source

Minimal complete definition

rand, entropy

Methods

rand :: g -> (Int, g) Source

entropy :: g -> Int Source

rands :: Int -> g -> ([Int], g) Source

toList :: g -> [Int] Source