.. distributions.rst ************* Distributions ************* :class:`~dit.Distribution` is the core class in :mod:`dit`, representing probability distributions over discrete random variables. Distributions can be constructed from outcome-probability pairs, dictionaries, or NumPy arrays (see :doc:`npdist`), and support arithmetic operations when outcomes are numeric (see :doc:`npscalardist`). .. toctree:: npscalardist.rst npdist.rst