#18411: get rid of CartesianProduct
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  vdelecroix             |       Status:  needs_work
           Type:         |    Milestone:  sage-6.7
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  combinatorics          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  4eacb2236a6f6d950bc3a0b0a4fb5bf038113a5c
  Vincent Delecroix      |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/18411           |
   Dependencies:         |
-------------------------+-------------------------------------------------
Description changed by vdelecroix:

Old description:

> The features of `sage.combinat.cartesian_product.CartesianProduct` are
> now completely integrated into the category framework (see #18290). We
> remove all occurrences of `CartesianProduct` to either
> `cartesian_product` or `itertools.product`. We also deprecate the
> `CartesianProduct` from `sage.combinat.cartesian_product`.
>
> In order to support all features of the old class we also:
>  - move the `__iter__` from
> `EnumeratedSets.CartesianProducts.ParentMethods` category to `Sets`
>  - allows `cartesian_product` to be called with `list`, `tuple`, `set`,
> `frozenset`
>  - introduce a function `bounded_number_of_tuples` in `sage.misc.misc`
> that is intensively used in the testing framework
>  - refine the category of `Set([1,2,3])` to be finite
>  - implement a (very naive) `random_element` for `Set([1,2,3])`
>
> follow up: #19192

New description:

 The features of `sage.combinat.cartesian_product.CartesianProduct` are now
 completely integrated into the category framework (see #18290). We remove
 all occurrences of `CartesianProduct` to either `cartesian_product` or
 `itertools.product`. We also deprecate the `CartesianProduct` from
 `sage.combinat.cartesian_product`.

 In order to support all features of the old class we also:
  - move the `__iter__` from
 `EnumeratedSets.CartesianProducts.ParentMethods` category to `Sets`
  - allows `cartesian_product` to be called with `list`, `tuple`, `set`,
 `frozenset`
  - introduce a function `bounded_number_of_tuples` in `sage.misc.misc`
 that is intensively used in the testing framework
  - refine the category of `Set([1,2,3])` to be finite
  - implement a (very naive) `random_element` for `Set([1,2,3])`
  - implement a (naive) hash for `EnumeratedSetFromIterator`

 follow up: #19192

--

--
Ticket URL: <http://trac.sagemath.org/ticket/18411#comment:20>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to