Skip to main content

Module dist

Module dist 

Source
Expand description

Dist, the closed enum of every native distribution, for the places where the family is chosen at run time: the Python and R bindings, serialization and model outputs (docs/design/distributions.md, “Static vs dynamic dispatch”).

Hot loops stay generic over D: Distribution and monomorphize; Dist dispatches once per call with a match, not through a vtable.

Structs§

SeverityDist
A Dist known to be a Severity: every variant but Dist::Sampled.

Enums§

Dist
Any native univariate distribution.