File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -388,13 +388,13 @@ def StronglyRegular(self, n):
388
388
"""
389
389
from sage .combinat .matrices .hadamard_matrix import skew_hadamard_matrix
390
390
from sage .matrix .constructor import ones_matrix , identity_matrix
391
- if skew_hadamard_matrix (n + 1 , existence = True ) is not True :
391
+ if skew_hadamard_matrix (n + 1 , existence = True ) is not True :
392
392
raise ValueError (f'strongly regular digraph with { n } vertices not yet implemented' )
393
393
394
- H = skew_hadamard_matrix (n + 1 , skew_normalize = True )
394
+ H = skew_hadamard_matrix (n + 1 , skew_normalize = True )
395
395
M = H [1 :, 1 :]
396
396
M = (M + ones_matrix (n )) / 2 - identity_matrix (n )
397
- return DiGraph (M , format = 'adjacency_matrix' , name = f 'Strongly regular digraph' )
397
+ return DiGraph (M , format = 'adjacency_matrix' , name = 'Strongly regular digraph' )
398
398
399
399
def Paley (self , q ):
400
400
r"""
You can’t perform that action at this time.
0 commit comments