Copyright | (c) 2011 Aleksey Khudyakov |
---|---|
License | BSD3 |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Variate distributed uniformly in the interval.
- data UniformDistribution
- uniformDistr :: Double -> Double -> UniformDistribution
- uniformDistrE :: Double -> Double -> Maybe UniformDistribution
- uniformA :: UniformDistribution -> Double
- uniformB :: UniformDistribution -> Double
Documentation
data UniformDistribution Source #
Uniform distribution from A to B
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