Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add williamson type matrices of order 9
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCati committed Dec 7, 2022
1 parent 129351f commit 8adf237
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sage/combinat/matrices/hadamard_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,10 @@ def williamson_type_quadruples_smallcases(n, existence=False):
[1, -1, 1, -1, -1, 1, -1],
[1, 1, -1, -1, -1, -1, 1],
[1, -1, -1, -1, -1, -1, -1]),
9: ([1, -1, -1, -1, 1, 1, -1, -1, -1],
[1, -1, -1, 1, -1, -1, 1, -1, -1],
[1, -1, 1, -1, -1, -1, -1, 1, -1],
[1, 1, -1, -1, -1, -1, -1, -1, 1]),
29: ([1, 1, 1,-1,-1,-1, 1, 1,-1,-1, 1,-1, 1,-1,-1,-1,-1, 1,-1, 1,-1,-1, 1, 1,-1,-1,-1, 1, 1],
[1,-1, 1,-1,-1,-1, 1, 1,-1,-1, 1,-1, 1, 1, 1, 1, 1, 1,-1, 1,-1,-1, 1, 1,-1,-1,-1, 1,-1],
[1, 1, 1, 1,-1, 1, 1,-1, 1,-1,-1,-1, 1, 1, 1, 1, 1, 1,-1,-1,-1, 1,-1, 1, 1,-1, 1, 1, 1],
Expand Down Expand Up @@ -1361,7 +1365,7 @@ def hadamard_matrix(n,existence=False, check=True):
False
sage: matrix.hadamard(12,existence=True)
True
sage: matrix.hadamard(476,existence=True)
sage: matrix.hadamard(668,existence=True)
Unknown
sage: matrix.hadamard(10)
Traceback (most recent call last):
Expand Down

0 comments on commit 8adf237

Please sign in to comment.