mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +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
|
X.coeffs[RG.basis_dict[g]] = value
|
||||||
end
|
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
|
# String I/O
|
||||||
|
Loading…
Reference in New Issue
Block a user