matrix_repr can be computed for any g::GroupElem
This commit is contained in:
parent
7510198187
commit
3f33cd69b8
@ -108,7 +108,7 @@ end
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
function matrix_repr(g::WreathProductElem, E, E_dict)
|
function matrix_repr(g::GroupElem, E, E_dict)
|
||||||
rep_matrix = spzeros(Int, length(E), length(E))
|
rep_matrix = spzeros(Int, length(E), length(E))
|
||||||
for (i,e) in enumerate(E)
|
for (i,e) in enumerate(E)
|
||||||
j = E_dict[g(e)]
|
j = E_dict[g(e)]
|
||||||
|
Loading…
Reference in New Issue
Block a user