move Cstar_repr
This commit is contained in:
parent
8c930a6f7f
commit
45696aac34
@ -162,14 +162,6 @@ function central_projection(RG::GroupRing, char::Function, T::Type=Rational{Int}
|
||||
return convert(T, char(RG.group())//Int(order(RG.group))*result)
|
||||
end
|
||||
|
||||
function Cstar_repr(x::GroupRingElem, matrix_reps)
|
||||
res = zeros(matrix_reps[1])
|
||||
for i in 1:length(parent(x).basis)
|
||||
res += x.coeffs[i]*matrix_reps[i]
|
||||
end
|
||||
return res
|
||||
end
|
||||
|
||||
function rankOne_projections(G::PermutationGroup, T::Type=Rational{Int})
|
||||
RG = GroupRing(G)
|
||||
projections = [central_projection(RG, χ, T) for χ in chars(G)]
|
||||
@ -229,6 +221,14 @@ function rankOne_projections(BN::WreathProducts.WreathProduct, T::Type=Rational{
|
||||
return all_projs
|
||||
end
|
||||
|
||||
function Cstar_repr(x::GroupRingElem, matrix_reps)
|
||||
res = zeros(matrix_reps[1])
|
||||
for i in 1:length(parent(x).basis)
|
||||
res += x.coeffs[i]*matrix_reps[i]
|
||||
end
|
||||
return res
|
||||
end
|
||||
|
||||
function orthSVD(M::AbstractMatrix)
|
||||
M = full(M)
|
||||
# matrixRank = rank(M)
|
||||
|
Loading…
Reference in New Issue
Block a user