Oscar.jl icon indicating copy to clipboard operation
Oscar.jl copied to clipboard

Add `cycles` for `PermGroupElem`

Open joschmitt opened this issue 11 months ago • 0 comments

A function cycles is requested for PermGroupElem in https://github.com/oscar-system/Oscar.jl/pull/3439#discussion_r1515993975 . Here is an easy implementation of this by calling the AbstractAlgebra function cycledec. I find this a bit weird since the element must know its cycles on the GAP side; after all it prints as a cycle decomposition. I didn't find out how to access this piece of information directly though.

AbstractAlgebra also has a fancy iterator type for the cycles. I don't see a reason for this (other than nicer printing maybe?).

joschmitt avatar Mar 11 '24 09:03 joschmitt