Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Data.Random.Distribution.
Uniform No documentation available.
-
random-fu Data.Random.Distribution.Uniform A name for the "standard" uniform distribution over the type t, if one exists. See also stdUniform. For Integral and Enum types that are also Bounded, this is the uniform distribution over the full range of the type. For un-Bounded Integral types this is not defined. For Fractional types this is a random variable in the range [0,1) (that is, 0 to 1 including 0 but not including 1).
-
random-fu Data.Random.Distribution.Uniform No documentation available.
-
random-fu Data.Random.Distribution.Uniform A definition of a uniform distribution over the type t. See also uniform.
Uniform :: t -> t -> Uniform trandom-fu Data.Random.Distribution.Uniform A uniform distribution defined by a lower and upper range bound. For Integral and Enum types, the range is inclusive. For Fractional types the range includes the lower bound but not the upper.
boundedEnumStdUniform :: forall a (m :: Type -> Type) . (Enum a, Bounded a) => RVarT m arandom-fu Data.Random.Distribution.Uniform Compute a random value for a Bounded Enum type, between minBound and maxBound (inclusive)
boundedStdUniform :: (Distribution Uniform a, Bounded a) => RVar arandom-fu Data.Random.Distribution.Uniform Compute a random value for a Bounded type, between minBound and maxBound (inclusive for Integral or Enum types, in [minBound, maxBound) for Fractional types.)
boundedStdUniformCDF :: (CDF Uniform a, Bounded a) => a -> Doublerandom-fu Data.Random.Distribution.Uniform No documentation available.
doubleStdUniform :: forall (m :: Type -> Type) . RVarT m Doublerandom-fu Data.Random.Distribution.Uniform Compute a uniform random Double value in the range [0,1)
doubleUniform :: forall (m :: Type -> Type) . Double -> Double -> RVarT m Doublerandom-fu Data.Random.Distribution.Uniform doubleUniform a b computes a uniform random Double value in the range [a,b)