random-fu-0.2.7.7: Random number generation

Safe HaskellNone
LanguageHaskell2010

Data.Random.Distribution.Rayleigh

Synopsis

Documentation

newtype Rayleigh a Source #

The rayleigh distribution with a specified mode ("sigma") parameter. Its mean will be sigma*sqrt(pi/2) and its variance will be sigma^2*(4-pi)/2

(therefore if you want one with a particular mean m, sigma should be m*sqrt(2/pi))

Constructors

Rayleigh a 
Instances
(Real a, Distribution Rayleigh a) => CDF Rayleigh a Source # 
Instance details

Defined in Data.Random.Distribution.Rayleigh

Methods

cdf :: Rayleigh a -> a -> Double Source #

(RealFloat a, Distribution StdUniform a) => Distribution Rayleigh a Source # 
Instance details

Defined in Data.Random.Distribution.Rayleigh

Methods

rvar :: Rayleigh a -> RVar a Source #

rvarT :: Rayleigh a -> RVarT n a Source #

rayleighCDF :: Real a => a -> a -> Double Source #