| 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 |
Numeric.Statistics.PDF
Description
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
Instances
| Storable b => PDF (PDFFunction b) b Source # | |
Minimal complete definition
Creation
pdfFromFunction :: (a -> Double) -> PDFFunction a Source #
create a PDF from an arbtrary function f :-> [0,1]