group together matrix/C*-representation functions

This commit is contained in:
kalmar 2017-06-08 20:03:22 +02:00
parent 6ee187ec59
commit 72ea3f5e0a

View File

@ -88,14 +88,6 @@ function orbit_decomposition(G::Nemo.Group, E::Vector, rdict=GroupRings.reverse_
return orbits return orbits
end end
function matrix_repr(g::WreathProductElem, E, E_dict)
rep_matrix = spzeros(Int, length(E), length(E))
for (i,e) in enumerate(E)
j = E_dict[g(e)]
rep_matrix[i,j] = 1
end
return rep_matrix
end
end end
@ -103,8 +95,19 @@ end
end end
end end
###############################################################################
#
# Matrix- and C*-representations
#
###############################################################################
function matrix_repr(g::WreathProductElem, E, E_dict)
rep_matrix = spzeros(Int, length(E), length(E))
for (i,e) in enumerate(E)
j = E_dict[g(e)]
rep_matrix[i,j] = 1
end end
return rep_matrix
end end
function Cstar_repr(x::GroupRingElem, matrix_reps) function Cstar_repr(x::GroupRingElem, matrix_reps)