seeds in gaussian random number generator
Frédéric van der Plancke
fplancke at my-deja.com
Thu Sep 14 15:07:26 EDT 2000
More information about the Python-list mailing list
Thu Sep 14 15:07:26 EDT 2000
- Previous message (by thread): seeds in gaussian random number generator
- Next message (by thread): seeds in gaussian random number generator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <39BF30C0.AC4F66CF at fnal.gov>, Rob Snihur <snihur at fnal.gov> wrote: > Hi, > Is there any way to set the initial seed for the Gaussian > random number generator function "gauss"? > Thanks, > -rob The seed function is not in module random (too bad) but in module whrandom: So you can do: import whrandom whrandom.seed() #or, with up to three integer arguments: whrandom.seed(1,2,3) (whrandom is actually meant to be "hidden implementation details", but we obviously still need it explicitly.) -- Frederic van der Plancke e-mail address: reverse and add dot-at-dot to: <com writeme vdplancke frederic> (I don't read <fplancke at my-deja.com> regularly.) Sent via Deja.com http://www.deja.com/ Before you buy.
- Previous message (by thread): seeds in gaussian random number generator
- Next message (by thread): seeds in gaussian random number generator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list