Skip to content

Commit

Permalink
adjust doctest, add matrix of order 4.787
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Sep 23, 2024
1 parent 5953b5f commit cc3ebd0
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/sage/combinat/matrices/hadamard_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,20 +282,20 @@ def hadamard_matrix_paleyII(n):
[ 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 -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| 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 1|-1 -1]
TESTS::
Expand Down Expand Up @@ -358,6 +358,8 @@ def hadamard_matrix_from_symmetric_conference_matrix(n, existence=False, check=T
sage: hadamard_matrix_from_symmetric_conference_matrix(12, existence=True)
True
sage: hadamard_matrix_from_symmetric_conference_matrix(4*787, existence=True)
True
TESTS::
Expand Down

0 comments on commit cc3ebd0

Please sign in to comment.