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

Safe HaskellSafe
LanguageHaskell2010

Stochastic.Distribution

Documentation

class ContinuousDistribution g where Source

Minimal complete definition

randDouble

Methods

randDouble :: g -> (Double, g) Source

randDoubles :: Int -> g -> ([Double], g) Source

class DiscreteDistribution g where Source

Minimal complete definition

Nothing

Methods

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

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

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