Home
last modified time | relevance | path

Searched refs:expovariate (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/
Drandom.py639 def expovariate(self, lambd): member in Random
870 expovariate = _inst.expovariate variable
/third_party/python/Doc/library/
Drandom.rst306 .. 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/
Dworker_server.py183 yield random.expovariate(alpha)
/third_party/python/Lib/test/
Dtest_random.py1004 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)
Dtest_statistics.py2176 [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))
Dtest_decimal.py724 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/
D3.8.0a1.rst2057 random.expovariate(1.0 / beta). This synchronizes the two algorithms and