original_docstring: r"""
  
          Cumulative hazard rate for the Gamma Distribution:
  
          .. math::
              H(x) = -\ln(1 - \frac{\gamma \left ( \alpha, \beta x \right )}
              {\Gamma \left ( \alpha \right )})
  
          Parameters
          ----------
  
          x : numpy array or scalar
              The values at which the function will be calculated
          alpha : numpy array or scalar
              The shape parameter for the Gamma distribution
          beta : numpy array or scalar
              The scale parameter for the Gamma distribution
  
  
          Returns
          -------
  
          Hf : scalar or numpy array
              The cumulative hazard rate of the distribution at each x
  
          Examples
          --------
          >>> import numpy as np
          >>> from surpyval import Gamma
          >>> x = np.array([1, 2, 3, 4, 5])
          >>> Gamma.Hf(x, 3, 2)
          array([0.39056209, 1.43505064, 2.78112418, 4.28642793, 5.88912614])
          
docstring: r"""
  Cumulative hazard rate for the Gamma Distribution.
  
  
  
  Parameters
  
  x : numpy array or scalar
  The values at which the function will be calculated
  alpha : numpy array or scalar
  The shape parameter for the Gamma distribution
  beta : numpy array or scalar
  The scale parameter for the Gamma distribution
  
  Returns
  
  Hf : scalar or numpy array
  The cumulative hazard rate of the distribution at each x
  
  Examples
  
  
docstring_tokens: r " " " Cumulative hazard rate for the Gamma Distribution . Parameters x : numpy array or scalar The values at which the function will be calculated alpha : numpy array or scalar The shape parameter for the Gamma distribution beta : numpy array or scalar The scale parameter for the Gamma distribution Returns Hf : scalar or numpy array The cumulative hazard rate of the distribution at each x Examples
code: def Hf(self, x, alpha, beta):
          r"""
  
          Cumulative hazard rate for the Gamma Distribution:
  
          .. math::
              H(x) = -\ln(1 - \frac{\gamma \left ( \alpha, \beta x \right )}
              {\Gamma \left ( \alpha \right )})
  
          Parameters
          ----------
  
          x : numpy array or scalar
              The values at which the function will be calculated
          alpha : numpy array or scalar
              The shape parameter for the Gamma distribution
          beta : numpy array or scalar
              The scale parameter for the Gamma distribution
  
  
          Returns
          -------
  
          Hf : scalar or numpy array
              The cumulative hazard rate of the distribution at each x
  
          Examples
          --------
          >>> import numpy as np
          >>> from surpyval import Gamma
          >>> x = np.array([1, 2, 3, 4, 5])
          >>> Gamma.Hf(x, 3, 2)
          array([0.39056209, 1.43505064, 2.78112418, 4.28642793, 5.88912614])
          """
          return -np.log(self.sf(x, alpha, beta))
code_tokens: def Hf ( self , x , alpha , beta ) : return - np . log ( self . sf ( x , alpha , beta ) )
short_docstring: r"""
  Cumulative hazard rate for the Gamma Distribution:
short_docstring_tokens: r " " " Cumulative hazard rate for the Gamma Distribution :
comment: r"""
  
          Cumulative hazard rate for the Gamma Distribution:
  
          .. math::
              H(x) = -\ln(1 - \frac{\gamma \left ( \alpha, \beta x \right )}
              {\Gamma \left ( \alpha \right )})
  
          Parameters
          ----------
  
          x : numpy array or scalar
              The values at which the function will be calculated
          alpha : numpy array or scalar
              The shape parameter for the Gamma distribution
          beta : numpy array or scalar
              The scale parameter for the Gamma distribution
  
  
          Returns
          -------
  
          Hf : scalar or numpy array
              The cumulative hazard rate of the distribution at each x
  
          Examples
          --------
          >>> import numpy as np
          >>> from surpyval import Gamma
          >>> x = np.array([1, 2, 3, 4, 5])
          >>> Gamma.Hf(x, 3, 2)
          array([0.39056209, 1.43505064, 2.78112418, 4.28642793, 5.88912614])
          """