Random number generation from functions

Alejandro López-Valencia dradul at shangri-la.invalid
Tue Nov 30 16:49:58 EST 2004


On Mon, 29 Nov 2004 20:51:50 GMT, "drs"
<drs at remove-to-send-mail-ecpsoftware.com> wrote:

>Is there any way to generate random numbers based on arbitrary real valued
>functions? I am looking for something like random.gauss() but with natural
>log and exponential functions.

Try with CRNG, it may have what you need, or be able to adapt it to
what you want. http://www.sbc.su.se/~per/crng/




More information about the Python-list mailing list