mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 18:15:29 +01:00
add length(::AutSymbol)
This commit is contained in:
parent
c925181116
commit
bdca979fda
@ -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]
|
||||
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user