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,6 +88,19 @@ function orbit_decomposition(G::Nemo.Group, E::Vector, rdict=GroupRings.reverse_
return orbits return orbits
end end
end
end
end
###############################################################################
#
# Matrix- and C*-representations
#
###############################################################################
function matrix_repr(g::WreathProductElem, E, E_dict) function matrix_repr(g::WreathProductElem, 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)
@ -97,16 +110,6 @@ function matrix_repr(g::WreathProductElem, E, E_dict)
return rep_matrix return rep_matrix
end end
end
end
end
end
end
function Cstar_repr(x::GroupRingElem, matrix_reps) function Cstar_repr(x::GroupRingElem, matrix_reps)
res = zeros(matrix_reps[1]) res = zeros(matrix_reps[1])
for i in 1:length(parent(x).basis) for i in 1:length(parent(x).basis)