random-fu-0.3.0.1: Random number generation

Safe Haskell | None
Language | Haskell2010

Data.Random.Distribution.Dirichlet

# Documentation

fractionalDirichlet :: forall a (m :: Type -> Type). (Fractional a, Distribution Gamma a) => [a] -> RVarT m [a] Source #

dirichlet :: Distribution Dirichlet [a] => [a] -> RVar [a] Source #

dirichletT :: forall a (m :: Type -> Type). Distribution Dirichlet [a] => [a] -> RVarT m [a] Source #

newtype Dirichlet a Source #

Constructors

Dirichlet a |

#### Instances

Instances details

(Fractional a, Distribution Gamma a) => Distribution Dirichlet [a] Source # |
Instance details Defined in Data.Random.Distribution.Dirichlet Methods rvar :: Dirichlet [a] -> RVar [a] Source # rvarT :: forall (n :: Type -> Type). Dirichlet [a] -> RVarT n [a] Source #
Show a => Show (Dirichlet a) Source # |
Instance details Defined in Data.Random.Distribution.Dirichlet Methods showsPrec :: Int -> Dirichlet a -> ShowS Source # show :: Dirichlet a -> String Source # showList :: [Dirichlet a] -> ShowS Source #
Eq a => Eq (Dirichlet a) Source # |
Instance details Defined in Data.Random.Distribution.Dirichlet Methods (==) :: Dirichlet a -> Dirichlet a -> Bool Source # (/=) :: Dirichlet a -> Dirichlet a -> Bool Source #