Searched refs:expovariate (Results 1 – 13 of 13) 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 | 437 def expovariate(self, lambd): member in Random 761 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 | 250 .. function:: expovariate(lambd) 352 >>> expovariate(1 / 5) # Interval between arrivals averaging 5 seconds 444 from random import expovariate, gauss 458 arrival += expovariate(1.0 / average_arrival_interval)
|
/external/scapy/scapy/asn1/ |
D | asn1.py | 42 z = int(random.expovariate(0.05)+1) 45 z = int(random.expovariate(0.08)+1)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/ |
D | worker_server.py | 173 yield random.expovariate(alpha)
|
/external/python/cpython3/Lib/test/ |
D | test_random.py | 752 g.random = x[:].pop; g.expovariate(1.0) 774 (g.expovariate, (1.5,), 1/1.5, 1/1.5**2), 804 (g.expovariate, (float('inf'),), 0.0),
|
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)
|