Module

Math.Probability.Dist

Package
purescript-probability
Repository
colehaus/purescript-probability

#isValid Source

isValid :: forall a f p. Bounded p => Semiring p => Foldable f => Functor f => Eq p => f (Tuple a p) -> Boolean

#make Source

make :: forall p a. Ord a => EuclideanRing p => NonEmpty Map a p -> Dist p a

#probs Source

probs :: forall p a. Ord a => Semiring p => Dist p a -> NonEmpty List p

#sum Source

sum :: forall p a f. Semiring p => Foldable f => Functor f => f (Tuple a p) -> p

#unmake Source

unmake :: forall p a. Ord a => Semiring p => Dist p a -> NonEmpty Map a p

#values Source

values :: forall p a. Ord a => Semiring p => Dist p a -> NonEmpty Set a

Re-exports from Math.Probability.Dist.Internal

#Dist Source

newtype Dist p a

Instances