1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-26 02:20:30 +01:00

add length(::AutSymbol)

This commit is contained in:
kalmar 2017-05-15 09:54:08 +02:00
parent c925181116
commit bdca979fda

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]
###############################################################################