Module

Statistics.Distribution.Uniform

Package
purescript-stats
Repository
klangner/purescript-stats

#UniformDistribution Source

data UniformDistribution

Uniform distribution from A to B

Constructors

Instances

#uniformDistr Source

uniformDistr :: Number -> Number -> UniformDistribution

Create normal distribution from mean and standard deviation Use this function only when you are sure that sd > 0. Otherwise use safe normalDistrE

#uniformDistrE Source

uniformDistrE :: Number -> Number -> Maybe UniformDistribution

Create normal distribution in a safe way