#15621: Implement regular partition tuples
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-6.10
Component: combinatorics | Resolution:
Keywords: regular partition | Merged in:
tuples | Reviewers:
Authors: Travis Scrimshaw | Work issues:
Report Upstream: N/A | Commit:
Branch: | 809cc130b52b00c21f14e57ff2b8296f60dafaed
public/combinat/regular_partition_tuples| Stopgaps:
Dependencies: #15525 |
-------------------------------------+-------------------------------------
Comment (by andrew.mathas):
> I noticed an inconsistency with this. In particular, we currently have:-
> {{{
> sage: la = Partition([3,3,1])
> sage: PT = PartitionTuples()
> sage: la in PT
> }}}
> So either we should have my change where the quoted example should be
`True`, or we change it so that the example I gave returns `False`. Which
would you prefer?
Yes, this is certainly a bug. I would prefer the following:
{{{
sage: Partition([3,3,1]) in PartitionTuples()
True
sage: [3,3,1] in PartitionTuples()
True # ** currently returns False
}}}
I am not sure if this is compatible with what you are proposing.
Andrew
--
Ticket URL: <http://trac.sagemath.org/ticket/15621#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.