central projection is defined as \Sum\chi(inv(g))g
This commit is contained in:
parent
b5c069b2a8
commit
c8c75dc1e7
@ -71,7 +71,7 @@ end
|
|||||||
function central_projection(RG::GroupRing, char::Function, T::Type=Rational{Int})
|
function central_projection(RG::GroupRing, char::Function, T::Type=Rational{Int})
|
||||||
result = RG(T)
|
result = RG(T)
|
||||||
for g in RG.basis
|
for g in RG.basis
|
||||||
result[g] = char(g)
|
result[g] = char(inv(g))
|
||||||
end
|
end
|
||||||
return convert(T, char(RG.group())//Int(order(RG.group))*result)
|
return convert(T, char(RG.group())//Int(order(RG.group))*result)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user