def RenderParetoCdf(xmin, alpha, low, high, n=50):
 if (low < xmin):
  low = xmin
 xs = np.linspace(low, high, n)
 ps = (1 - ((xs / xmin) ** (- alpha)))
 return (xs, ps)

def RenderParetoCdf ( xmin , alpha , low , high , n = 50 ) : if ( low < xmin ) : low = xmin xs = np . linspace ( low , high , n ) ps = ( 1 - ( ( xs / xmin ) ** ( - alpha ) ) ) return ( xs , ps )
generates sequences of xs and ps for a pareto cdf .