(self, alpha)
return 1.0 / u ** (1.0/alpha)
Pareto distribution.  alpha is the shape parameter.
Pareto distribution.  alpha is the shape parameter.
Pareto distribution . alpha is the shape parameter .
def paretovariate(self, alpha):
        """Pareto distribution.  alpha is the shape parameter."""
        # Jain, pg. 495

        u = 1.0 - self.random()
        return 1.0 / u ** (1.0/alpha)
def paretovariate ( self , alpha ) : # Jain, pg. 495 u = 1.0 - self . random ( ) return 1.0 / u ** ( 1.0 / alpha )