#18290: enhanced sets and cartesian products
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  categories         |   Resolution:
       Keywords:  cartesian_product  |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/18290                 |  2eff7ab551257766a43b3d9fa7b1e637b07188b0
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Replying to [comment:18 jmantysalo]:
 > Replying to [comment:16 vdelecroix]:
 >
 > > No. The order of enumeration of a cartesian products is lexicographic.
 So a cartesian product of infinite enumerated sets should even '''not'''
 be an enumerated set!
 >
 > OK. And after the patch at least `for x in cartesian_product([ZZ,ZZ])`
 gives an error.

 I will add it to the doc with a comment.

 Though, for infinite sets, we can choose an other order for the
 enumeration. If so, we can put back this method and implement rank/unrank.

--
Ticket URL: <http://trac.sagemath.org/ticket/18290#comment:19>
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