probabilistic_model.distributions.helper
========================================

.. py:module:: probabilistic_model.distributions.helper


Functions
---------

.. autoapisummary::

   probabilistic_model.distributions.helper.make_dirac


Module Contents
---------------

.. py:function:: make_dirac(variable, value) -> probabilistic_model.distributions.distributions.UnivariateDistribution

   Creates a Dirac distribution for a given variable and value.

   This function constructs a Dirac distribution tailored to the type of
   the input variable. It supports creating distributions for continuous,
   symbolic, and integer variables.

   :param variable: The variable for which the Dirac distribution is created.
   :param value: The value at which the Dirac distribution is centered.
   :return: The dirac-like distribution
   :raises NotImplementedError: When the variable type is unsupported.


