Lines Matching refs:len
50 xq = np.append(xq[:lastnz], np.zeros(len(xq) - lastnz))
79 e = [ np.sum(x[4*k:4*(k+1)] ** 2) for k in range(len(x) // 4) ]
132 lastnz = len(xq) - 2 * np.argmax(nz_pairs[-1::-1])
151 if n > len(x) // 2:
254 nbits_ari = np.ceil(np.log2(len(x) / 2)).astype(int)
331 if n > len(x) // 2:
386 for i in range(len(self.xg)):
397 nbits_residual = min(bits.get_bits_left(), len(lsbs))
447 levs = np.zeros(len(x), dtype=np.int)
452 if n > len(x) // 2:
500 xr = np.zeros(len(x), dtype=np.bool)
502 for i in range(len(x)):
516 for i in range(len(levs)):
543 nf_seed = sum(abs(x.astype(np.int)) * range(len(x)))
550 for i in range(len(xr)):
692 e = rng.random(min(len(x), 64)) * 1e10
739 for i in range(len(C.X_F[dt])):