Searched refs:expovariate (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython2/Demo/tkinter/guido/ |
D | brownian.py | 27 dt = random.expovariate(LAMBDA)
|
D | brownian2.py | 36 dt = random.expovariate(LAMBDA)
|
/external/python/cpython3/Lib/ |
D | random.py | 596 def expovariate(self, lambd): member in Random 827 expovariate = _inst.expovariate variable
|
/external/python/cpython2/Lib/ |
D | random.py | 425 def expovariate(self, lambd): member in Random 899 expovariate = _inst.expovariate variable
|
/external/scapy/scapy/ |
D | volatile.py | 149 return self.base+int(round(random.expovariate(self.lambd))) 515 current.append([current]+[e]*(int(random.expovariate(self._lambda))+1)) 518 current.append([current]+[e]*int(random.expovariate(self._lambda)))
|
/external/python/cpython2/Lib/test/ |
D | test_random.py | 521 g.random = x[:].pop; g.expovariate(1.0) 543 (g.expovariate, (1.5,), 1/1.5, 1/1.5**2), 573 (g.expovariate, (float('inf'),), 0.0),
|
D | test_decimal.py | 553 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0) 1742 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0)
|
/external/python/cpython3/Doc/library/ |
D | random.rst | 295 .. function:: expovariate(lambd) 414 >>> expovariate(1 / 5) # Interval between arrivals averaging 5 seconds 505 from random import expovariate, gauss 517 arrival_time += expovariate(1.0 / average_arrival_interval) 587 >>> fr.expovariate(0.25)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/ |
D | worker_server.py | 173 yield random.expovariate(alpha)
|
/external/scapy/scapy/asn1/ |
D | asn1.py | 42 z = int(random.expovariate(0.05)+1) 45 z = int(random.expovariate(0.08)+1)
|
/external/python/cpython3/Lib/test/ |
D | test_random.py | 917 g.random = x[:].pop; g.expovariate(1.0) 939 (g.expovariate, (1.5,), 1/1.5, 1/1.5**2), 969 (g.expovariate, (float('inf'),), 0.0), 1042 expovariate_returned_value = random.expovariate(1.0 / beta)
|
D | test_statistics.py | 2150 [random.expovariate(50.0) for i in range(1_000)], 2344 data = [random.expovariate(0.2) for i in range(total)] 2346 data.append(random.expovariate(0.2))
|
D | test_decimal.py | 703 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0) 816 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0) 2568 x = random.expovariate(0.01) * (random.random() * 2.0 - 1.0)
|
/external/python/cpython2/Doc/library/ |
D | random.rst | 228 .. function:: expovariate(lambd)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 2057 random.expovariate(1.0 / beta). This synchronizes the two algorithms and
|