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:
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