1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-29 11:00:28 +01:00

generators of GroupRing (symmetric generating set)

This commit is contained in:
kalmar 2017-05-17 17:44:36 +02:00
parent 396f5b529c
commit 07cc7eff16

View File

@ -160,6 +160,12 @@ function setindex!(X::GroupRingElem, value, g::GroupElem)
X.coeffs[RG.basis_dict[g]] = value
end
function generators(RG::GroupRing)
S = generators(RG.group)
S = unique([S..., [inv(s) for s in S]...])
return [RG(s) for s in S]
end
###############################################################################
#
# String I/O