[BioPython] random numbers
CL Wu
anewgene at hotpop.com
Mon Apr 19 10:14:28 EDT 2004
Does it work for you?
>>> import random
>>> random.gammavariate(1,2)
1.5041091518144103
Chunlei
ciccio at unical.it wrote:
>
>Hi all,
>is there the possibility to generate random numbers according to a gamma
>distribution with both mean and shape parameters fixed? (in python or
>biopython)
>
>Thank you
>
>ernesto
>
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>_______________________________________________
>BioPython mailing list - BioPython at biopython.org
>http://biopython.org/mailman/listinfo/biopython
>
>
>
More information about the BioPython
mailing list