Copyright | (c) A. V. H. McPhail 2010 2014 |
---|---|
License | BSD3 |
Maintainer | haskell.vivian.mcphail <at> gmail <dot> com |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Probability Distribution Function interface
- data PDFFunction a
- class PDF b a where
- pdfFromFunction :: (a -> Double) -> PDFFunction a
data PDFFunction a Source #
a probability distribution function
a PDF interface
Storable b => PDF (PDFFunction b) b Source # | |
Creation
pdfFromFunction :: (a -> Double) -> PDFFunction a Source #
create a PDF from an arbtrary function f :-> [0,1]