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
Shuffle Product #15595
Comments
Branch: u/elixyre/ticket/15595 |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Author: Jean-Baptiste Priez |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Reviewer: MatthieuDien |
Changed keywords from none to days57 |
Changed reviewer from MatthieuDien to Matthieu Dien |
Changed branch from u/elixyre/ticket/15595 to u/MatthieuDien/ticket/15595 |
New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed reviewer from Matthieu Dien to Matthieu Dien, Tomer Bauer |
Changed branch from u/MatthieuDien/ticket/15595 to u/mathzeta2/ticket/15595 |
comment:18
I have added a "See also" comment to |
comment:20
patchbot:
|
Changed branch from u/mathzeta2/ticket/15595 to u/MatthieuDien/ticket/15595 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:25
Now the tests in the file pass. Positive review! The work never ends. From comment [comment:18]:
and have shuffle of variable number of iterables, and check if the Parent/Element system can be used efficiently and many other things... |
Changed branch from u/MatthieuDien/ticket/15595 to |
Shuffle product can be define on any iterable object so I propose to define a new class that implement an efficient shuffle product on iterables.
Currently one has two shuffle product in Sage, one is defined on words and one is defined on permutations.
The first one is slow and don't allow to compute shuffle of two list and the second is fast but only defined for Permutations.
Some benchmarks:
My Shuffle:
Time if
ShuffleProduct
inherits just ofSageObject
Time if
ShuffleProduct
inherits of the evil classParent
:with
Comparaison with
ShuffleProduct_w1w2
:CC: @nthiery @mathzeta
Component: combinatorics
Keywords: days57
Author: Jean-Baptiste Priez
Branch/Commit:
18e97c1
Reviewer: Matthieu Dien, Tomer Bauer
Issue created by migration from https://trac.sagemath.org/ticket/15595
The text was updated successfully, but these errors were encountered: