Module

# Math.Probability

- Package
- purescript-probability
- Repository
- colehaus/purescript-probability

Provides monadic interface for computation with discrete random variables. Based on: http://web.engr.oregonstate.edu/~erwig/papers/PFP_JFP06.pdf

### #complement Source

`complement :: forall p. Bounded p => Ring p => p -> p`

### #marginalize Source

`marginalize :: forall p b a. Ord a => Ord b => EuclideanRing p => (a -> b) -> Dist p a -> Dist p b`