Searched refs:expovariate (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/ |
D | random.py | 639 def expovariate(self, lambd): member in Random 870 expovariate = _inst.expovariate variable
|
/third_party/python/Doc/library/ |
D | random.rst | 306 .. function:: expovariate(lambd) 425 >>> expovariate(1 / 5) # Interval between arrivals averaging 5 seconds 516 from random import expovariate, gauss 529 arrival_time += expovariate(1.0 / average_arrival_interval) 599 >>> fr.expovariate(0.25)
|
/third_party/grpc/src/python/grpcio_tests/tests/qps/ |
D | worker_server.py | 183 yield random.expovariate(alpha)
|
/third_party/python/Lib/test/ |
D | test_random.py | 1004 g.random = x[:].pop; g.expovariate(1.0) 1026 (g.expovariate, (1.5,), 1/1.5, 1/1.5**2), 1056 (g.expovariate, (float('inf'),), 0.0), 1129 expovariate_returned_value = random.expovariate(1.0 / beta)
|
D | test_statistics.py | 2176 [random.expovariate(50.0) for i in range(1_000)], 2370 data = [random.expovariate(0.2) for i in range(total)] 2372 data.append(random.expovariate(0.2))
|
D | test_decimal.py | 724 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0) 837 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0) 2596 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 2057 random.expovariate(1.0 / beta). This synchronizes the two algorithms and
|