#19555: Implement a containment for cartesian_product
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-6.10
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/sets/contains_cartesian_product-19555|
fb14675d6a264ca2405cebbcdb62a3eddfadd1f4
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):
* status: needs_review => needs_info
Comment:
1. What is the rationale for having tuple being considered as elements of
the cartesian product?
2. With this version `__contains__` and `Element.__eq__` are not
compatible
{{{
sage: (1,1) in C
True
sage: any(x == (1,1) for x in C)
False
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19555#comment:6>
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.