None
|
seed(self,
a=None)
Initialize internal state from hashable object. |
|
|
x in the interval [0, 1).
|
random(self)
Get the next random number in the range [0.0, 1.0). |
|
|
tuple containing the current state.
|
getstate(self)
Return internal state; can be passed to setstate() later. |
|
|
None
|
setstate(self,
state)
Restore internal state from object returned by getstate(). |
|
|
None
|
jumpahead(self,
n)
Act as if n calls to random() were made, but quickly. |
|
|
|
__whseed(self,
x=0,
y=0,
z=0)
Set the Wichmann-Hill seed from (x, y, z). |
|
|
|
whseed(self,
a=None)
Seed from hashable object's hash code. |
|
|
Inherited from Random :
__getstate__ ,
__init__ ,
__reduce__ ,
__setstate__ ,
betavariate ,
choice ,
expovariate ,
gammavariate ,
gauss ,
lognormvariate ,
normalvariate ,
paretovariate ,
randint ,
randrange ,
sample ,
shuffle ,
uniform ,
vonmisesvariate ,
weibullvariate
Inherited from _random.Random :
__getattribute__ ,
__new__ ,
getrandbits
Inherited from object :
__delattr__ ,
__hash__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|