random-fu-0.2.7.0: Random number generation

Safe HaskellNone
LanguageHaskell98

Data.Random.Distribution.Rayleigh

Synopsis

Documentation

newtype Rayleigh a #

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 # 

Methods

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

(RealFloat a, Distribution StdUniform a) => Distribution Rayleigh a # 

Methods

rvar :: Rayleigh a -> RVar a #

rvarT :: Rayleigh a -> RVarT n a #

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