probability-0.2.2: Probabilistic Functional ProgrammingSource codeContentsIndex
Numeric.Probability.Shape
Description
Collection of some shapes of distribution.
Synopsis
type T prob = prob -> prob
linear :: Fractional prob => T prob
uniform :: Fractional prob => T prob
negExp :: Floating prob => T prob
normal :: Floating prob => T prob
normalCurve :: Floating prob => prob -> prob -> prob -> prob
Documentation
type T prob = prob -> probSource
A shape is a mapping from the interval [0,1] to non-negative numbers. They need not to be normalized (sum up to 1) because this is done by subsequent steps. (It would also be impossible to normalize the function in a way that each discretization is normalized as well.)
linear :: Fractional prob => T probSource
uniform :: Fractional prob => T probSource
negExp :: Floating prob => T probSource
normal :: Floating prob => T probSource
normalCurve :: Floating prob => prob -> prob -> prob -> probSource
Produced by Haddock version 2.4.2