statistics-0.15.0.0: A library of statistical types, data, and functions

Copyright(c) 2011 Aleksey Khudyakov
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Statistics.Distribution.Uniform

Contents

Description

Variate distributed uniformly in the interval.

Synopsis

Documentation

data UniformDistribution Source #

Uniform distribution from A to B

Instances
Eq 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 :: (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 #

Read UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Show UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Generic UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Associated Types

type Rep UniformDistribution :: * -> * #

ToJSON UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

FromJSON UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Binary UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

ContGen 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

Variance 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

MaybeMean UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

ContDistr UniformDistribution Source # 
Instance details

Defined in Statistics.Distribution.Uniform

Distribution 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.15.0.0-AkglZgHZAgx3cdskkvnxTn" 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