Safe Haskell | None |
---|---|
Language | Haskell98 |
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 rvar :: Multinomial p [a] -> RVar [a] Source # rvarT :: Multinomial p [a] -> RVarT n [a] Source # |