Home
last modified time | relevance | path

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

/external/python/cpython2/Demo/tkinter/guido/
Dbrownian.py27 dt = random.expovariate(LAMBDA)
Dbrownian2.py36 dt = random.expovariate(LAMBDA)
/external/python/cpython3/Lib/
Drandom.py596 def expovariate(self, lambd): member in Random
827 expovariate = _inst.expovariate variable
/external/python/cpython2/Lib/
Drandom.py425 def expovariate(self, lambd): member in Random
899 expovariate = _inst.expovariate variable
/external/scapy/scapy/
Dvolatile.py149 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/
Dtest_random.py521 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),
Dtest_decimal.py553 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/
Drandom.rst295 .. 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/
Dworker_server.py173 yield random.expovariate(alpha)
/external/scapy/scapy/asn1/
Dasn1.py42 z = int(random.expovariate(0.05)+1)
45 z = int(random.expovariate(0.08)+1)
/external/python/cpython3/Lib/test/
Dtest_random.py917 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)
Dtest_statistics.py2150 [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))
Dtest_decimal.py703 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/
Drandom.rst228 .. function:: expovariate(lambd)
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst2057 random.expovariate(1.0 / beta). This synchronizes the two algorithms and