#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:15 jmantysalo]:
 > Wasn't there just discussion about avoiding `self` in docstrings at
 sage-devel? I.e. "Return the cardinality of self." should be "of this set"
 or "of this cartesian product".

 I can do that.

 > Code seems to work. Just to make sure: should `cartesian_product([ZZ,
 ZZ]).unrank(42)` work like for example `ZZ.unrank(42)` works?

 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!

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