-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
get rid of CartesianProduct #18411
Comments
This comment has been minimized.
This comment has been minimized.
Branch: public/18411 |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Author: Vincent Delecroix |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Thanks Frédéric for fixing a doctest. Though, I do not see the point of modifying |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Hi Frédéric, This was clearly not the way to fix Vincent |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:60
The change sounds fine to me! Assuming all test pass, back to positive review. |
comment:61
... does not... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:63
...waiting for the patchbot green light... |
comment:64
Bueno! |
comment:65
Merge conflict |
comment:66
With what? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:68
Hoping I will not have to rebase once more... |
Changed branch from public/18411 to |
The features of
sage.combinat.cartesian_product.CartesianProduct
are now completely integrated into the category framework (see #18290). We remove all occurrences ofCartesianProduct
to eithercartesian_product
oritertools.product
. We deprecate theCartesianProduct
fromsage.combinat.cartesian_product
.In order to support all features of the old class we also:
__iter__
fromEnumeratedSets.CartesianProducts.ParentMethods
toSets.CartesianProducts.ParentMethods
cartesian_product
to be called withlist
,tuple
,set
,frozenset
cartesian_product([])
workssome_tuples
insage.misc.misc
that is intensively used in the testing framework (and incidentally speed up some doc test)Set([1,2,3])
to be finiterandom_element
forSet([1,2,3])
EnumeratedSetFromIterator
see also : #15425, #19195
one that can be closed as duplicate: #14224, #19192
Depends on #17411
CC: @nthiery @nathanncohen
Component: combinatorics
Author: Vincent Delecroix
Branch/Commit:
6e27dde
Reviewer: Nicolas M. Thiéry
Issue created by migration from https://trac.sagemath.org/ticket/18411
The text was updated successfully, but these errors were encountered: