Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup of integer compositions #5600

Closed
nthiery opened this issue Mar 24, 2009 · 18 comments
Closed

Cleanup of integer compositions #5600

nthiery opened this issue Mar 24, 2009 · 18 comments

Comments

@nthiery
Copy link
Contributor

nthiery commented Mar 24, 2009

  • Documentation improvements
  • Fixes some of http://wiki.sagemath.org/combinat/Weirdness
  • Composition(l) accepts any iterable l, and in particular a tuple
  • New functionalities:
    • concatenation (as __add__ and sum)
    • size
    • fatter, finer, fatten (refinement of compositions)
  • Uses IntegerListsLex (fast iteration, ...) instead of not any better specific code
    Note: this changes the iteration order to inverse lexicographic,
    and iteration changes the iteration order for set partitions, skew
    partitions, and skew tableaux.

CC: @sagetrac-sage-combinat @jbandlow

Component: combinatorics

Keywords: integer compositions

Author: Nicolas M. Thiéry

Reviewer: Dan Drake, Jason Bandlow, Minh Van Nguyen

Merged: Sage 4.1.2.alpha0

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

@nthiery

This comment has been minimized.

@nthiery

This comment has been minimized.

@nthiery

This comment has been minimized.

@nthiery

This comment has been minimized.

@nthiery
Copy link
Contributor Author

nthiery commented May 3, 2009

Changed keywords from none to integer compositions

@nthiery
Copy link
Contributor Author

nthiery commented May 19, 2009

comment:6

Attachment: compositions-cleanup-5600-nt.patch.gz

@nthiery
Copy link
Contributor Author

nthiery commented Jul 29, 2009

Reviewer: Dan Drake, Jason Bandlow

@nthiery
Copy link
Contributor Author

nthiery commented Jul 29, 2009

Author: Nicolas M. Thiéry

@nthiery
Copy link
Contributor Author

nthiery commented Jul 29, 2009

comment:8

The updated patch fixes the (the failure was actually actually a trivial thing in the doctest; thanks to Jason for spotting this!)

@nthiery nthiery added this to the sage-4.1.1 milestone Jul 29, 2009
@nthiery
Copy link
Contributor Author

nthiery commented Jul 29, 2009

Attachment: trac_5600-compositions_cleanup-nt.2.patch.gz

Attachment: trac_5600-compositions_cleanup-nt.patch.gz

Apply only this one, yes, this one!

@jbandlow
Copy link
Contributor

comment:9

Doctests pass, and it looks like Dan's issues have been resolved. Positive review from me.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Aug 22, 2009

Attachment: trac_5600-reviewer.patch.gz

reviewer patch

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Aug 22, 2009

comment:10

I'm attaching the reviewer patch trac_5600-reviewer.patch. It fixes a number of typos introduced by trac_5600-compositions_cleanup-nt.patch, and edits some docstrings so they look a bit nicer when one views the corresponding pages in the reference manual. If people are happy with my reviewer patch trac_5600-reviewer.patch, then patches should be merged in this order:

  1. trac_5600-compositions_cleanup-nt.patch
  2. trac_5600-reviewer.patch

@nthiery
Copy link
Contributor Author

nthiery commented Aug 22, 2009

comment:11

Replying to @sagetrac-mvngu:

I'm attaching the reviewer patch trac_5600-reviewer.patch. It fixes a number of typos introduced by trac_5600-compositions_cleanup-nt.patch, and edits some docstrings so they look a bit nicer when one views the corresponding pages in the reference manual. If people are happy with my reviewer patch trac_5600-reviewer.patch, then patches should be merged in this order:

  1. trac_5600-compositions_cleanup-nt.patch
  2. trac_5600-reviewer.patch

Thanks much for fixing all those typos! positive review on your reviewer's patch.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Aug 23, 2009

Merged: Sage 4.1.2.alpha0

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Aug 23, 2009

Changed reviewer from Dan Drake, Jason Bandlow to Dan Drake, Jason Bandlow, Minh Van Nguyen

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Aug 23, 2009

comment:12

Merged patches in this order:

  1. trac_5600-compositions_cleanup-nt.patch
  2. trac_5600-reviewer.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@nthiery @jbandlow and others