Safe Haskell | None |
---|---|
Language | Haskell98 |
- floatingRayleigh :: (Floating a, Eq a, Distribution StdUniform a) => a -> RVarT m a
- newtype Rayleigh a = Rayleigh a
- rayleigh :: Distribution Rayleigh a => a -> RVar a
- rayleighT :: Distribution Rayleigh a => a -> RVarT m a
- rayleighCDF :: Real a => a -> a -> Double
Documentation
floatingRayleigh :: (Floating a, Eq a, Distribution StdUniform a) => a -> RVarT m 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)
)
Rayleigh a |
(Real a, Distribution Rayleigh a) => CDF Rayleigh a Source # | |
(RealFloat a, Distribution StdUniform a) => Distribution Rayleigh a Source # | |
rayleighCDF :: Real a => a -> a -> Double Source #