copulas/univariate/base.py
def _constant_cumulative_distribution(self, X):
        """Cumulative distribution for the degenerate case of constant distribution.

        Note that the output of this method will be an array whose unique values are 0 and 1.
        More information can be found here: https://en.wikipedia.org/wiki/Degenerate_distribution

        Args:
            X (numpy.ndarray): Values to compute cdf to.

        Returns:
            numpy.ndarray: Cumulative distribution for the given values.
        """
        result = np.ones(X.shape)
        result[np.nonzero(X < self.constant_value)] = 0

        return result
Cumulative distribution for the degenerate case of constant distribution.

        Note that the output of this method will be an array whose unique values are 0 and 1.
        More information can be found here: https://en.wikipedia.org/wiki/Degenerate_distribution

        Args:
            X (numpy.ndarray): Values to compute cdf to.

        Returns:
            numpy.ndarray: Cumulative distribution for the given values.
        
Cumulative distribution for the degenerate case of constant distribution.
Note that the output of this method will be an array whose unique values are 0 and 1.
Cumulative distribution for the degenerate case of constant distribution . Note that the output of this method will be an array whose unique values are 0 and 1 .
def _constant_cumulative_distribution(self, X):
        result = np.ones(X.shape)
        result[np.nonzero(X < self.constant_value)] = 0
        return result
def _constant_cumulative_distribution ( self , X ) : result = np . ones ( X . shape ) result [ np . nonzero ( X < self . constant_value ) ] = 0 return result
Cumulative distribution for the degenerate case of constant distribution.
Cumulative distribution for the degenerate case of constant distribution .
"""Cumulative distribution for the degenerate case of constant distribution.

        Note that the output of this method will be an array whose unique values are 0 and 1.
        More information can be found here: https://en.wikipedia.org/wiki/Degenerate_distribution

        Args:
            X (numpy.ndarray): Values to compute cdf to.

        Returns:
            numpy.ndarray: Cumulative distribution for the given values.
        """
Cumulative distribution for the given values.
Cumulative distribution for the given values .
numpy.ndarray
self
X
Values to compute cdf to.
Values to compute cdf to .