Thanks for the many answers. So basically I have to get the inverse of the CDF and use this to transform my uniformly distributed random numbers. If my desired distribution is simple I can get an analytical solution for the inverse, otherwise I have to use numerical methods.
Okay, things are now much clearer. Many thanks, Alex -- http://mail.python.org/mailman/listinfo/python-list