Searched refs:lambd (Results 1 – 5 of 5) sorted by relevance
145 def __init__(self, lambd, base=0): argument146 self.lambd = lambd149 return self.base+int(round(random.expovariate(self.lambd)))
228 .. function:: expovariate(lambd)230 Exponential distribution. *lambd* is 1.0 divided by the desired233 range from 0 to positive infinity if *lambd* is positive, and from234 negative infinity to 0 if *lambd* is negative.
425 def expovariate(self, lambd): argument440 return -_log(1.0 - self.random())/lambd
596 def expovariate(self, lambd): argument611 return -_log(1.0 - self.random()) / lambd
295 .. function:: expovariate(lambd)297 Exponential distribution. *lambd* is 1.0 divided by the desired300 range from 0 to positive infinity if *lambd* is positive, and from301 negative infinity to 0 if *lambd* is negative.