Opened 9 years ago

Last modified 5 weeks ago

#15357 new enhancement

Methods for permutation group elements

Reported by: nthiery Owned by:
Priority: major Milestone:
Component: group theory Keywords:
Cc: sage-combinat, tscrim Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by nthiery)

Add the following features to permutation group elements:

    def support(self):
        """
        Return the support of ``self`` that is the points that are not fixed.
        """

    def fixed_points(self): ?
        ...

    def cycle_type(self):
        """
        Return the cycle type of ``self``.
        """

Besides, for concistency with the cycle_tuples method, the cycles method could accept the option singleton. It's questionable whether we want to have those two very similar methods in the first place.

See also the discussion in #14319.

Change History (6)

comment:1 Changed 9 years ago by nthiery

Description: modified (diff)

comment:2 Changed 9 years ago by tscrim

Cc: tscrim added

comment:3 Changed 9 years ago by vbraun_spam

Milestone: sage-6.1sage-6.2

comment:4 Changed 9 years ago by vbraun_spam

Milestone: sage-6.2sage-6.3

comment:5 Changed 8 years ago by vbraun_spam

Milestone: sage-6.3sage-6.4

comment:6 Changed 5 weeks ago by mkoeppe

Milestone: sage-6.4
Note: See TracTickets for help on using tickets.