#17053: Add function for direct sum of posets
---------------------------------+-----------------------------
Reporter: jmantysalo | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-wishlist
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+-----------------------------
Comment (by ncohen):
Yo !
> This breaks at least with
>
> {{{
> P1=Posets.PentagonPoset(facade=True)
> P1=Posets.PentagonPoset(facade=False)
> P=Poset(P1.hasse_diagram().disjoint_union(P2.hasse_diagram()))
> P.show()
> }}}
>
> But I'll add checks as necessary. I guess it is OK to simply refuce
summing up facade and non-facade poset.
It works on my computer: beware, in your code both posets are named P1. So
P2 is defined only on your computer.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/17053#comment:5>
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.