Skip to content

Improvements to SetPartitions #15143

@tscrim

Description

@tscrim

This ticket does the following:

  • Creates a class for all set partitions.
  • Allows equality between different set partitions of different parents.
  • Implements a total ordering on set partitions based upon ordering the parts.
  • Implements a fully consistent string representation.
  • Adds multiple methods, including accessing the base set for the set partition.

Apply: attachment: trac_15143-set_partitions-folded-ts.2.patch

Depends on #14234

CC: @sagetrac-sage-combinat @zabrocki

Component: combinatorics

Author: Travis Scrimshaw

Reviewer: Darij Grinberg, Mike Zabrocki

Merged: sage-5.13.beta0

Issue created by migration from https://trac.sagemath.org/ticket/15143

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions