Dear all,

I am looking for a function that can generate a serial of random numbers which follows the zipf distribution with a given mean. The only thing that I can find now is with a given parameter of alpha (an exponent characterizing the distribution). Does anyone know if there is a library provide this kind of function or where should I look for it?

Thank you!!!