statistics-0.16.2.1: A library of statistical types, data, and functions
Copyright(c) 2011 Aleksey Khudyakov
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Statistics.Distribution.Uniform

Description

Variate distributed uniformly in the interval.

Synopsis

Documentation

data UniformDistribution Source #

Uniform distribution from A to B

Instances

Instances details
FromJSON UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

ToJSON UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Data UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UniformDistribution -> c UniformDistribution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UniformDistribution #

toConstr :: UniformDistribution -> Constr #

dataTypeOf :: UniformDistribution -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UniformDistribution) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UniformDistribution) #

gmapT :: (forall b. Data b => b -> b) -> UniformDistribution -> UniformDistribution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UniformDistribution -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UniformDistribution -> r #

gmapQ :: (forall d. Data d => d -> u) -> UniformDistribution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UniformDistribution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UniformDistribution -> m UniformDistribution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UniformDistribution -> m UniformDistribution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UniformDistribution -> m UniformDistribution #

Generic UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Associated Types

type Rep UniformDistribution :: Type -> Type #

Read UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Show UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Binary UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Eq UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

ContDistr UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

ContGen UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Distribution UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Entropy UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

MaybeEntropy UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

MaybeMean UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

MaybeVariance UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Mean UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Variance UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

type Rep UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

type Rep UniformDistribution = D1 ('MetaData "UniformDistribution" "Statistics.Distribution.Uniform" "statistics-0.16.2.1-3pqcJx3Latt5dz24Y5Wwoa" 'False) (C1 ('MetaCons "UniformDistribution" 'PrefixI 'True) (S1 ('MetaSel ('Just "uniformA") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "uniformB") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Double)))

Constructors

uniformDistr :: Double -> Double -> UniformDistribution Source #

Create uniform distribution.

uniformDistrE :: Double -> Double -> Maybe UniformDistribution Source #

Create uniform distribution.

Accessors

uniformA :: UniformDistribution -> Double Source #

Low boundary of distribution

uniformB :: UniformDistribution -> Double Source #

Upper boundary of distribution