# Exact complete search: had16.k over mu_8 (or mu_4 with --mu4), via the decomposition b = sum_r zeta^r x^(r), # x^(r) ternary with disjoint supports, H x^(r) in {0,+-4}^16, row supports partitioning the rows. import sys, numpy as np, itertools, time sys.path.insert(0,'..'); sys.path.insert(0,'.') import matrices as m k=int(sys.argv[1]); mu4='--mu4' in sys.argv H=np.real(m.from_hex(m.HAD16[k])).astype(np.int16); N=16; FULL=(1<