approximate-0.2.1.1: Approximate discrete values and numbers

Portabilitynon-portable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellNone

Data.Approximate.Type

Description

 

Synopsis

Documentation

data Approximate a Source

An approximate number, with a likely interval, an expected value and a lower bound on the log of probability that the answer falls in the interval.

NB: The probabilities associated with confidence are stored in the log domain.

Constructors

Approximate !(Log Double) a a a 

zero :: (Num a, Eq a) => Prism' (Approximate a) ()Source

one :: (Num a, Eq a) => Prism' (Approximate a) ()Source