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

Fast cython class for maps between finite sets. #9109

Closed
hivert opened this issue Jun 1, 2010 · 16 comments
Closed

Fast cython class for maps between finite sets. #9109

hivert opened this issue Jun 1, 2010 · 16 comments

Comments

@hivert
Copy link

hivert commented Jun 1, 2010

The patch implements fast Cython classes for maps between finite sets. The goal in particular is to allow for building easily submonoids of the monoid of all maps from one set to itself.

See for example class NDPFMonoidPosetNewSet in
parking_functions_posets-fh.patch

Apply:

  1. attachment: trac_9109-finite_set_maps-fh.patch

Dependencies: #8702

Component: combinatorics

Keywords: finite sets map

Author: Florent Hivert

Reviewer: Mike Hansen, Nicolas M. Thiéry

Merged: sage-4.7.alpha5

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

@hivert

This comment has been minimized.

@hivert

This comment has been minimized.

@hivert

This comment has been minimized.

@hivert
Copy link
Author

hivert commented Oct 24, 2010

comment:4

I just uploaded a new version after some changes in #8702

@hivert
Copy link
Author

hivert commented Oct 24, 2010

Attachment: trac_9109-finite_set_maps-fh.2.patch.gz

@hivert
Copy link
Author

hivert commented Apr 2, 2011

Reviewer: Mike Hansen, Nicolas M. Thiéry

@hivert
Copy link
Author

hivert commented Apr 2, 2011

comment:5

This should now be ready for review

@hivert

This comment has been minimized.

@hivert
Copy link
Author

hivert commented Apr 2, 2011

comment:6

They are still a few glitches remaining. Setting status back to need work

@hivert

This comment has been minimized.

@hivert
Copy link
Author

hivert commented Apr 3, 2011

comment:8

The submitted patch should fix all remaining problem. Please review.

@nthiery

This comment has been minimized.

@nthiery
Copy link
Contributor

nthiery commented Apr 5, 2011

comment:9

We discussed the design quite some with Florent, and used the code intensively over the last month. It's a useful addition! Thanks!

Florent: please check the small reviewer patch on the Sage-Combinat queue. If the changes are ok with you, you can fold/upload and set a positive review on my behalf.

@hivert
Copy link
Author

hivert commented Apr 5, 2011

comment:10

Florent: please check the small reviewer patch on the Sage-Combinat
queue. If the changes are ok with you, you can fold/upload and set a
positive review on my behalf.

Hi Nicolas ! Thanks a lot for the numerous English corrections. The doc is
much better now ! I'm perfectly ok with all your changes, except for the
following wrong ReST markup:

diff --git a/sage/sets/finite_set_map_cy.pyx b/sage/sets/finite_set_map_cy.pyx
--- a/sage/sets/finite_set_map_cy.pyx
+++ b/sage/sets/finite_set_map_cy.pyx
@@ -86,7 +86,7 @@ cpdef fibers(f, domain):
         {1: {1}}
 
     .. seealso:: :func:`fibers_args` if one needs to pass extra
-    arguments to ``f``.
+       arguments to ``f``.
     """
     result = {}
     for x in domain:

I folded your patch and added this small change. It is a rather trivial change
but, in order to follow the rules, someone has to look at it. So it's now your
job to set the positive review :-)

@nthiery
Copy link
Contributor

nthiery commented Apr 5, 2011

comment:11

Attachment: trac_9109-finite_set_maps-fh.patch.gz

@jdemeyer
Copy link

Merged: sage-4.7.alpha5

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