probability-0.2.5.2: Probabilistic Functional Programming
Numeric.Probability.Expectation
class ToFloat a where Source #
Minimal complete definition
toFloat
Methods
toFloat :: a -> Float Source #
Defined in Numeric.Probability.Expectation
toFloat :: Float -> Float Source #
toFloat :: Int -> Float Source #
toFloat :: Integer -> Float Source #
toFloat :: T -> Float Source #
class FromFloat a where Source #
fromFloat
fromFloat :: Float -> a Source #
fromFloat :: Float -> Float Source #
fromFloat :: Float -> Int Source #
fromFloat :: Float -> Integer Source #
class Expected a where Source #
expected
expected :: a -> Float Source #
expected :: Float -> Float Source #
expected :: Int -> Float Source #
expected :: Integer -> Float Source #
expected :: [a] -> Float Source #
expected :: T prob a -> Float Source #
floatDist :: (ToFloat prob, Expected a) => T prob a -> T Float Float Source #
variance :: Expected a => Dist a -> Float Source #
statistical analyses
stdDev :: Expected a => Dist a -> Float Source #