add length(::AutSymbol)

This commit is contained in:
kalmar 2017-05-15 09:54:08 +02:00
parent c925181116
commit bdca979fda
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ function change_pow(s::AutSymbol, n::Int)
end
end
length(s::AutSymbol) = abs(s.pow)
generators(G::AutGroup) = [G(AutGroupElem(elt)) for elt in G.gens]
###############################################################################