random-fu-0.2.7.0: Random number generation

Safe HaskellNone
LanguageHaskell98

Data.Random.Distribution.Gamma

Synopsis

Documentation

data Gamma a Source #

Constructors

Gamma a a 

Instances

gamma :: Distribution Gamma a => a -> a -> RVar a Source #

gammaT :: Distribution Gamma a => a -> a -> RVarT m a Source #

newtype Erlang a b Source #

Constructors

Erlang a 

Instances

(Integral a, Real b, Distribution (Erlang a) b) => CDF (Erlang a) b Source # 

Methods

cdf :: Erlang a b -> b -> Double Source #

(Integral a, Floating b, Ord b, Distribution Normal b, Distribution StdUniform b) => Distribution (Erlang a) b Source # 

Methods

rvar :: Erlang a b -> RVar b Source #

rvarT :: Erlang a b -> RVarT n b Source #

erlang :: Distribution (Erlang a) b => a -> RVar b Source #

erlangT :: Distribution (Erlang a) b => a -> RVarT m b Source #

mtGamma :: (Floating a, Ord a, Distribution StdUniform a, Distribution Normal a) => a -> a -> RVarT m a Source #

derived from Marsaglia & Tang, "A Simple Method for generating gamma variables", ACM Transactions on Mathematical Software, Vol 26, No 3 (2000), p363-372.