-
-
Notifications
You must be signed in to change notification settings - Fork 918
Lazy species #38544
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
Merged
Merged
Lazy species #38544
Changes from 116 commits
Commits
Show all changes
119 commits
Select commit
Hold shift + click to select a range
d9b6bf3
provide is_constant
mantepse 9e31e27
basic design, non-working __call__
mantepse e7db7a1
Merge branch 'simple-species' into lazy-species
mantepse 96469f6
Merge branch 'simple-species' into lazy-species
mantepse 7dd7db4
Merge branch 'simple-species' into lazy-species
mantepse 43c1745
Merge branch 'simple-species' into lazy-species
mantepse 64c4072
Merge branch 'simple-species' into lazy-species
mantepse 041dcad
lazy composition possibly working, at least univariate
mantepse a1d42ef
fix multisort bugs
mantepse 0496422
add weighted example
mantepse 3c42364
simplify unisort _repr_
mantepse f070463
polish examples
mantepse fdc1d98
Merge branch 'simple-species' into lazy-species
mantepse 259f844
add a doctest
mantepse cc32428
add a doctest
mantepse 3c2a3d1
implement generating series, delegate sum and product to separate cla…
mantepse 3ea68d1
start to fix multisort structures
mantepse 04243ac
Merge branch 'simple-species' into lazy-species
mantepse 7c8e8bf
alternative way to compute group
mantepse b335831
Merge branch 'simple-species' into lazy-species
mantepse f8b1d80
Merge branch 'simple-species' into lazy-species
mantepse 11f9dae
Merge branch 'lazy-species' of https://github.com/mantepse/sage into …
mantepse 73e8c3d
Merge branch 'simple-species' into lazy-species
mantepse f7bfd48
adapt doctests
mantepse 956f42f
Merge branch 'simple-species' into lazy-species
mantepse 48fb116
generic cycle_index_series for multisort species
mantepse 55f334b
Merge branch 'simple-species' into lazy-species
mantepse 7c0b2bb
fix a doctest
mantepse d98fe80
Merge branch 'simple-species' into lazy-species
mantepse 53b7ada
Merge branch 'simple-species' into lazy-species
mantepse 72b956b
Merge branch 'simple-species' into lazy-species
mantepse d80e2ae
Merge branch 'develop' into lazy-species
mantepse 7259f66
Merge branch 'develop' into lazy-species
mantepse a42633b
Merge branch 'sagemath:develop' into lazy-species
mantepse 8058889
Merge branch 'simple-species' into lazy-species
mantepse 5db564d
Merge branch 'sagemath:develop' into lazy-species
mantepse 0ee0905
Merge branch 'simple-species' into lazy-species
mantepse c981982
import PolynomialSpecies in doctests
mantepse fd12e53
Merge branch 'simple-species' into lazy-species
mantepse 5aeef49
Merge branch 'simple-species' into lazy-species
mantepse 53b28cd
Merge branch 'simple-species' into lazy-species
mantepse 47c7814
adapt to changes in species.py
mantepse 902df45
Merge branch 'simple-species' into lazy-species
mantepse 1d91d1e
extract __call__ into separate class, proof of concept for special sp…
mantepse cbf8b1d
fix bug in LazySpeciesElement.structures, add ProductSpeciesElement.s…
mantepse f4849ee
cosmetics
mantepse 92ba51f
adapt doctest
mantepse 84086df
preliminary support for generating structures of a composition
mantepse 3c6159b
Merge branch 'set_partitions/arbitrary_labels' into lazy-species
mantepse a7ada76
Merge branch 'species/left_and_right_actions' into lazy-species
mantepse b918066
provide structures for atomic and molecular species
mantepse 7af0ee8
simplify and correct structures
mantepse 10c90e0
try to make structures more predictable
mantepse 568df5f
add missing 'EXAMPLES::'
mantepse b62aa20
Merge branch 'sagemath:develop' into lazy-species
mantepse 666abc0
Merge branch 'sagemath:develop' into lazy-species
mantepse a3525df
add (currently failing) tests
mantepse 6b8f139
add forgotten import
mantepse d5f74fa
Merge branch 'sagemath:develop' into lazy-species
mantepse 1fa4906
Merge branch 'sagemath:develop' into lazy-species
mantepse 50d3082
provide reversion, switch to multiplicities in weighted_compositions
mantepse 5340aac
provide non-trivial examples for molecular decompositions
mantepse f48e209
fix doctests and syntax error
mantepse ca92a7e
Merge branch 'sagemath:develop' into lazy-species
mantepse e781f39
Merge branch 'sagemath:develop' into lazy-species
mantepse 8c3a64e
Merge branch 'species/rename' into lazy-species
mantepse 3797aed
add class for restriction of species
mantepse ba8d214
Merge branch 'develop' into lazy-species
mantepse bb69c4c
Merge branch 'sagemath:develop' into lazy-species
mantepse 05d2566
Merge branch 'lazy-species' of https://github.com/mantepse/sage into …
mantepse 9aae5cb
final tweaks
mantepse 9cd292b
fix reversion of exact species, remove useless imports and definitions
mantepse 082b37e
provide a few docstrings
mantepse 70a6114
Merge branch 'sagemath:develop' into lazy-species
mantepse 5ef405b
Merge branch 'develop' into lazy-species
mantepse e4e1941
Merge branch 'sagemath:develop' into lazy-species
mantepse 79fc6f9
Merge branch 'lazy-species' of github.com:mantepse/sage into lazy-spe…
mantepse 31d8b29
make __call__ work if outer function is constant
mantepse 6a60096
provide fast implementations for the generating series of simple graphs
mantepse 266fe1a
slight simplification of isotype_generating_series
mantepse dd54b5b
provide a generic way to obtain the generating series from the cycle …
mantepse 43dcf98
remove outdated (and now mysterious) comment
mantepse a62785a
Merge branch 'develop' into lazy-species
mantepse 41de9c4
provide isotypes, _test_structures, _test_isotypes
mantepse 1df9dd2
softly deprecate combinat.species, adapt doctests
mantepse bc01e94
lazy_species.py is a new file
mantepse ad4da47
lazy import LazySpecies into global namespace
mantepse f3a56af
adapt doctests to deprecation and sorting
mantepse bc2bb3d
remove unnecessary import statements
mantepse e577637
add doc and pointer to new implementation
mantepse e766be4
fix documentation
mantepse 8e60ffa
Merge branch 'develop' into lazy-species
mantepse 099fc0b
check that LazySpeciesElement_generating_series_mixin works
mantepse ba796e8
Apply suggestions from code review
mantepse ac35129
Apply suggestions from code review, Co-authored-by: Travis Scrimshaw …
mantepse 13522f2
fix import and undo one mistaken _Partitions
mantepse 17090f5
nicer doctest examples
mantepse 1578d9b
distinguish left and right summands
mantepse 234ea2e
add polygons and oriented sets
mantepse 4e86a21
fix docbug
mantepse 7a5b66d
fix mistaken definition of right action
mantepse e926c3f
provide separate class for univariate species, unify documentation
mantepse 7b72d05
use testing framework more properly
mantepse 3edcb8b
add an illustrative example
mantepse 559d8e2
fix doctest
mantepse adafd2b
remove erroneously added doctest
mantepse aeb2825
make doctest deterministic
mantepse 1ef3360
Apply suggestions from code review
mantepse 040fa3a
rename mixin class to follow conventions
mantepse b6d1ff7
sort output of test to make it deterministic
mantepse 0081358
sort output of test to make it deterministic, fix parenthesis
mantepse db7171b
raise NotImplementedError for isotypes with given labels
mantepse a10bf94
modify doctest to achieve deterministic output
mantepse 07465ff
slightly more elaborate documentation
mantepse e94aa64
add the species of chains
mantepse 652986c
better structures for chains
mantepse b9ba15e
Update src/sage/rings/lazy_species.py
mantepse 3219144
sort module list by module name rather than path
mantepse ebddbd4
replace LazySpecies by LazyCombinatorialSpecies
mantepse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should put this with the L's rather than at the bottom. Also, would there be some other natural place to link this doc? It's hard to find just being in the big combinat module list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean, move it between
k_tableauandlr_tableau?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that’s correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I move
cfinite_sequence, too, or in a different PR?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I would normally say it’s better to move it in a different PR, we can just get it done here