Safe Haskell | None |
---|---|
Language | Haskell2010 |
Noise and random processes.
This uses a fast reimplementation of randomR
since the standard function seems not to be inlined (at least in GHC-6.8.2).
Synopsis
- white :: (C y, Random y) => T y
- whiteGen :: (C y, Random y, RandomGen g) => g -> T y
- whiteQuadraticBSplineGen :: (C y, Random y, RandomGen g) => g -> T y
- randomPeeks :: (C y, Random y) => T y -> T Bool
- randomPeeksGen :: (C y, Random y, RandomGen g) => g -> T y -> T Bool
- randomRs :: (C y, Random y, RandomGen g) => (y, y) -> g -> T y
- randomR :: (RandomGen g, C y) => (y, y) -> g -> (y, g)
Documentation
white :: (C y, Random y) => T y Source #
Deterministic white noise, uniformly distributed between -1 and 1. That is, variance is 1/3.
whiteQuadraticBSplineGen :: (C y, Random y, RandomGen g) => g -> T y Source #
Approximates normal distribution with variance 1 by a quadratic B-spline distribution.