random-fu-0.2.7.7: Random number generation

Safe HaskellNone
LanguageHaskell2010

Data.Random.Distribution.Multinomial

Documentation

multinomial :: Distribution (Multinomial p) [a] => [p] -> a -> RVar [a] Source #

multinomialT :: Distribution (Multinomial p) [a] => [p] -> a -> RVarT m [a] Source #

data Multinomial p a where Source #

Constructors

Multinomial :: [p] -> a -> Multinomial p [a] 
Instances
(Num a, Eq a, Fractional p, Distribution (Binomial p) a) => Distribution (Multinomial p) [a] Source # 
Instance details

Defined in Data.Random.Distribution.Multinomial

Methods

rvar :: Multinomial p [a] -> RVar [a] Source #

rvarT :: Multinomial p [a] -> RVarT n [a] Source #