Skip to main content

Module dist

Module dist 

Source
Expand description

Finite distributions: dice, choices, counts, and the results of computing with them.

Structs§

Budget
Limits on building distributions, shared by everything in a run.
Dist

Enums§

Counts
binomial, poisson or geometric by their parameters: their probabilities and draws, without listing their outcomes. Sampling uses them (docs/semantics.md, section 14).

Functions§

ln_gamma
Natural log of the gamma function (Lanczos approximation, g = 7).