-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Random variate generation from hypergeometric distributions
--
@package random-hypergeometric
@version 0.1.0.0
-- | The parameters of the distribution describe k elements chosen
-- from a population of l, with m elements of one type, and
-- l-m of the other (all are positive integers).
module Data.Random.Distribution.Hypergeometric
data Hypergeometric t
-- | Constructs a hypergeometric distribution from the parameters k,
-- l and m. Fails if l is negative, k is not
-- in [0,l] or m is not in [0,l].
hypergeometric :: (Num a, Ord a) => a -> a -> a -> Hypergeometric a
getM :: Hypergeometric t -> t
getL :: Hypergeometric t -> t
getK :: Hypergeometric t -> t
hypergeometricVar :: (Num a, Ord a, Distribution Hypergeometric a) => a -> a -> a -> RVar a
hypergeometricVarT :: (Num a, Ord a, Distribution Hypergeometric a) => a -> a -> a -> RVarT m a
instance Integral t => Distribution Hypergeometric t