probability-0.2.2: Probabilistic Functional ProgrammingSource codeContentsIndex
Numeric.Probability.Expectation
Synopsis
class ToFloat a where
toFloat :: a -> Float
class FromFloat a where
fromFloat :: Float -> a
class Expected a where
expected :: a -> Float
floatDist :: (ToFloat prob, Expected a) => T prob a -> T Float Float
variance :: Expected a => Dist a -> Float
stdDev :: Expected a => Dist a -> Float
Documentation
class ToFloat a whereSource
Methods
toFloat :: a -> FloatSource
show/hide Instances
class FromFloat a whereSource
Methods
fromFloat :: Float -> aSource
show/hide Instances
class Expected a whereSource
Methods
expected :: a -> FloatSource
show/hide Instances
floatDist :: (ToFloat prob, Expected a) => T prob a -> T Float FloatSource
variance :: Expected a => Dist a -> FloatSource
statistical analyses
stdDev :: Expected a => Dist a -> FloatSource
Produced by Haddock version 2.4.2