Home
last modified time | relevance | path

Searched refs:expovariate (Results 1 – 13 of 13) 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.py437 def expovariate(self, lambd): member in Random
761 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.rst250 .. 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/
Dasn1.py42 z = int(random.expovariate(0.05)+1)
45 z = int(random.expovariate(0.08)+1)
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dworker_server.py173 yield random.expovariate(alpha)
/external/python/cpython3/Lib/test/
Dtest_random.py752 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),
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)