Lines Matching refs:n
155 n, d = _exact_ratio(start)
156 partials = {d: n}
161 for n,d in map(_exact_ratio, values):
163 partials[d] = partials_get(d, 0) + n
172 total = sum(Fraction(n, d) for d, n in sorted(partials.items()))
328 n = len(data)
329 if n < 1:
332 assert count == n
333 return _convert(total/n, T)
351 n = len(data)
352 if n == 0:
354 if n%2 == 1:
355 return data[n//2]
357 i = n//2
374 n = len(data)
375 if n == 0:
377 if n%2 == 1:
378 return data[n//2]
380 return data[n//2 - 1]
396 n = len(data)
397 if n == 0:
399 return data[n//2]
429 n = len(data)
430 if n == 0:
432 elif n == 1:
436 x = data[n//2]
448 return L + interval*(n/2 - cf)/f
553 n = len(data)
554 if n < 2:
557 return _convert(ss/(n-1), T)
601 n = len(data)
602 if n < 1:
606 return _convert(ss/n, T)