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

        u = self.random() - 1.0
        return 1.0 / pow(u, 1.0/alpha)

## -------------------- Weibull --------------------
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/random.py/Random.paretovariate/swapped operands of `-`