|
Data.Random.Distribution.Discrete |
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
|
|
|
|
Constructors | | Instances | |
|
|
|
Like fmap, but for the weights of a discrete distribution.
|
|
|
Adjust all the weights of a discrete distribution so that they
sum to unity. If not possible, returns the original distribution
unchanged.
|
|
|
Simplify a discrete distribution by combining equivalent events (the new
event will have a weight equal to the sum of all the originals).
|
|
|
Simplify a discrete distribution by combining equivalent events (the new
event will have a weight equal to the sum of all the originals).
The comparator function is used to identify events to combine. Once chosen,
the events and their weights are combined (independently) by the provided
weight and event aggregation functions.
|
|
Produced by Haddock version 2.4.2 |