@@ -214,12 +214,13 @@ def _And7():
214
214
[1 1 0 1 0 0 0]
215
215
"""
216
216
return matrix (_F , [[1 , 1 , 1 , 0 , 0 , 1 , 1 ],
217
- [1 , 1 , 1 , 0 , 1 , 0 , 1 ],
218
- [1 , 1 , 1 , 0 , 1 , 1 , 0 ],
219
- [0 , 0 , 0 , 0 , 1 , 1 , 1 ],
220
- [0 , 1 , 1 , 1 , 0 , 0 , 0 ],
221
- [1 , 0 , 1 , 1 , 0 , 0 , 0 ],
222
- [1 , 1 , 0 , 1 , 0 , 0 , 0 ]])
217
+ [1 , 1 , 1 , 0 , 1 , 0 , 1 ],
218
+ [1 , 1 , 1 , 0 , 1 , 1 , 0 ],
219
+ [0 , 0 , 0 , 0 , 1 , 1 , 1 ],
220
+ [0 , 1 , 1 , 1 , 0 , 0 , 0 ],
221
+ [1 , 0 , 1 , 1 , 0 , 0 , 0 ],
222
+ [1 , 1 , 0 , 1 , 0 , 0 , 0 ]])
223
+
223
224
224
225
@cached_function
225
226
def _H8 ():
@@ -240,13 +241,13 @@ def _H8():
240
241
[ 1 -1 -1 1 -1 1 1 -1]
241
242
"""
242
243
return matrix (ZZ , [[1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ],
243
- [1 , - 1 , 1 , - 1 , 1 , - 1 , 1 , - 1 ],
244
- [1 , 1 , - 1 , - 1 , 1 , 1 , - 1 , - 1 ],
245
- [1 , - 1 , - 1 , 1 , 1 , - 1 , - 1 , 1 ],
246
- [1 , 1 , 1 , 1 , - 1 , - 1 , - 1 , - 1 ],
247
- [1 , - 1 , 1 , - 1 , - 1 , 1 , - 1 , 1 ],
248
- [1 , 1 , - 1 , - 1 , - 1 , - 1 , 1 , 1 ],
249
- [1 , - 1 , - 1 , 1 , - 1 , 1 , 1 , - 1 ]]) # from Guava's Hadamard matrices database
244
+ [1 , - 1 , 1 , - 1 , 1 , - 1 , 1 , - 1 ],
245
+ [1 , 1 , - 1 , - 1 , 1 , 1 , - 1 , - 1 ],
246
+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 ,0 ,0 ,0 ,0 , 0 , 1 , 1 , 0 , 0 , 0 , 1 , 1 , 1 ],
593
+ [0 ,0 ,0 ,1 ,0 ,0 ,0 ,0 ,0 , 0 , 1 , 0 , 0 , 1 , 0 , 1 , 1 , 1 ],
594
+ [0 ,0 ,0 ,0 ,1 ,0 ,0 ,0 ,0 , 0 , 1 , 0 , 1 , 0 , 0 , 1 , 1 , 1 ],
595
+ [0 ,0 ,0 ,0 ,0 ,1 ,0 ,0 ,0 , 1 , 1 , 0 , 0 , 0 , 0 , 1 , 1 , 1 ],
596
+ [0 ,0 ,0 ,0 ,0 ,0 ,1 ,0 ,0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 , 1 , 1 ],
597
+ [0 ,0 ,0 ,0 ,0 ,0 ,0 ,1 ,0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 0 , 1 ],
598
+ [0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,1 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 0 ]])
598
599
G = PermutationGroup ( [ "(9,15)(16,17)" , "(9,16)(15,17)" , "(8,9)(17,18)" ,
599
600
"(7,8)(16,17)" , "(5,6)(10,13)" , "(5,10)(6,13)" , "(4,5)(13,14)" ,
600
601
"(3,4)(12,14)" , "(1,2)(6,10)" , "(1,3)(2,12)" ] )
@@ -611,15 +612,15 @@ def self_dual_binary_codes(n):
611
612
# are formally equivalent but with different automorphism groups;
612
613
# one of these has a unique codeword of lowest weight
613
614
A10 = MatrixSpace (_F ,10 ,10 )([[1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 ],
614
- [1 , 1 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 1 ],
615
- [1 , 0 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ],
616
- [0 , 0 , 0 , 1 , 1 , 1 , 0 , 1 , 0 , 1 ],
617
- [0 , 0 , 1 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ],
618
- [0 , 0 , 0 , 1 , 0 , 1 , 1 , 1 , 0 , 1 ],
619
- [0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ],
620
- [0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 1 , 1 ],
621
- [0 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 1 , 1 ],
622
- [0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 ]])
615
+ [1 , 1 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 1 ],
616
+ [1 , 0 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ],
617
+ [0 , 0 , 0 , 1 , 1 , 1 , 0 , 1 , 0 , 1 ],
618
+ [0 , 0 , 1 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ],
619
+ [0 , 0 , 0 , 1 , 0 , 1 , 1 , 1 , 0 , 1 ],
620
+ [0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ],
621
+ [0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 1 , 1 ],
622
+ [0 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 1 , 1 ],
623
+ [0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 ]])
623
624
# [20,0]:
624
625
genmat = _I2 (n ).augment (_I2 (n ))
625
626
# G = PermutationGroup( ["(10,20)", "(9,10)(19,20)", "(8,9)(18,19)", "(7,8)(17,18)", "(6,7)(16,17)",\
@@ -720,15 +721,15 @@ def self_dual_binary_codes(n):
720
721
# [20,9]: (genmat, K20 are equiv)
721
722
genmat = _I2 (n ).augment (A10 )
722
723
K20 = _MS (n )([[1 ,1 ,1 ,1 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ],
723
- [0 ,0 ,1 ,1 ,1 ,1 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ],
724
- [0 ,0 ,0 ,0 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