Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
Multinomial :: [p] -> a -> Multinomial p [a] |
Instances
(Num a, Eq a, Fractional p, Distribution (Binomial p) a) => Distribution (Multinomial p) [a] Source # | |
Defined in Data.Random.Distribution.Multinomial |