Jump to content

Template:Mentors of Boolean functions/code/4-ary

From Wikiversity
# vectors of the Walsh permutations

vector_zhe   = [65535, 43690, 52428, 34952, 61680, 41120, 49344, 32896, 65280, 43520, 52224, 34816, 61440, 40960, 49152, 32768]

vector_che   = [ 6015, 11199, 19935, 36591, 29175, 45819, 54525, 59646, 32535, 48939, 57165, 61326, 63345, 64434, 64980, 65256]
vector_yu    = [59521, 48321, 55969, 40945, 59017, 47053, 55211, 38654, 59497, 48253, 55931, 40814, 58991, 46970, 55164, 38504]
vector_ya    = [65535, 43690, 52428, 30583, 61680, 24415, 16191,  5654, 65280, 22015, 13311,  4454,  4095,  1370,   828, 65256]
vector_sha   = [    1,     2,     4,     9,    16,    33,    65,   150,   256,   513,  1025,  2310,  4097,  8466, 16660, 38504]

vector_shcha = [    1,     2,     4,     9,    16,    33,    65,   150,   256,   513,  1025,  2310,  4097,  8466, 16660, 38505]