stochastic-0.1.1.1: Monadic composition of probabilistic functions and sampling.

LicenseGPL-3
Maintainerhackage@mail.kevinl.io
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Data.Stochastic.Internal

Description

 

Synopsis

Documentation

boxMuller :: Floating a => a -> a -> a Source #

Function to convert values sampled from uniform distribution to a value sampled from a standard normal distribution.

closedRnd :: RandomGen g => g -> (Double, g) Source #

Randoms in the interval [0, 1]

openRnd :: RandomGen g => g -> (Double, g) Source #

Randoms in the interval (0, 1)

closedOpenRnd :: RandomGen g => g -> (Double, g) Source #

Randoms in the interval [0, 1)

openClosedRnd :: RandomGen g => g -> (Double, g) Source #

Randoms in the interval (0, 1]