Lines Matching refs:xrange
17 return [self.gen.random() for i in xrange(n)]
70 population = xrange(N)
71 for k in xrange(N+1):
86 return reduce(int.__mul__, xrange(1, n), 1)
87 for k in xrange(n):
90 for i in xrange(trials):
101 self.gen.sample(xrange(20), 2)
116 d = dict((i, complex(i, i)) for i in xrange(N))
117 for k in xrange(N+1):
145 origseq = [self.gen.random() for i in xrange(10)]
147 restoredseq = [newgen.random() for i in xrange(10)]
177 for i in xrange(N):
237 for i in xrange(100):
246 for i in xrange(100):
263 set([self.gen.randrange(start,stop) for i in xrange(100)]))
267 for k in xrange(1, 1000):
274 for i in xrange(100):
289 for i in xrange(1, 1000):
415 for i in xrange(100):
424 for i in xrange(100):
441 set([self.gen.randrange(start,stop) for i in xrange(100)]))
449 for k in xrange(1, 1000):
456 for i in xrange(100):
471 for i in xrange(1, 1000):
518 x = [g.random() for i in xrange(50)] + [0.0]*5
539 x = [i/float(N) for i in xrange(1,N)]
551 for i in xrange(len(x)):
644 for i in xrange(len(counts)):