statistics-0.14.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 # 
Data UniformDistribution Source # 

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 # 
Show UniformDistribution Source # 
Generic UniformDistribution Source # 
ToJSON UniformDistribution Source # 
FromJSON UniformDistribution Source # 
Binary UniformDistribution Source # 
ContGen UniformDistribution Source # 
Entropy UniformDistribution Source # 
MaybeEntropy UniformDistribution Source # 
Variance UniformDistribution Source # 
MaybeVariance UniformDistribution Source # 
Mean UniformDistribution Source # 
MaybeMean UniformDistribution Source # 
ContDistr UniformDistribution Source # 
Distribution UniformDistribution Source # 
type Rep UniformDistribution Source # 
type Rep UniformDistribution = D1 (MetaData "UniformDistribution" "Statistics.Distribution.Uniform" "statistics-0.14.0.0-9xPMo3QbnR7BEP0FkvUcUB" False) (C1 (MetaCons "UniformDistribution" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "uniformA") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Double)) (S1 (MetaSel (Just Symbol "uniformB") SourceUnpack SourceStrict DecidedUnpack) (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