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:
parent
396f5b529c
commit
07cc7eff16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user