Opened 6 years ago

Last modified 5 years ago

#15357 new enhancement

Methods for permutation group elements

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

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 (5)

comment:1 Changed 6 years ago by nthiery

  • Description modified (diff)

comment:2 Changed 5 years ago by tscrim

  • Cc tscrim added

comment:3 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:4 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:5 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4
Note: See TracTickets for help on using tickets.