central projection is defined as \Sum\chi(inv(g))g

This commit is contained in:
kalmar 2017-06-21 16:46:22 +02:00
parent b5c069b2a8
commit c8c75dc1e7
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ end
function central_projection(RG::GroupRing, char::Function, T::Type=Rational{Int})
result = RG(T)
for g in RG.basis
result[g] = char(g)
result[g] = char(inv(g))
end
return convert(T, char(RG.group())//Int(order(RG.group))*result)
end