#15875: Add is_subposet
-------------------------------------+-------------------------------------
Reporter: csar | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.4
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/csar/ticket/15875 | 7ecc981596c8b9b1cc90fe444a81bfe2bc80b4d6
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jmantysalo):
Replying to [comment:9 ncohen]:
> Since a long time, graphs have been converting all 'integer' labels into
'int'. That was long before I came. I expect that the reason is that you
"pay for labels" when you deal with graphs, and that was probably a way to
avoid that.
This was an answer to different question... (on sage-devel). To clarify,
here is another example of `is_sub*`-function:
{{{
r1=2.0-1.0
r2=3.0-1.0
i1=1
i2=2
{i1, i2}.issubset({r1, r2})
}}}
This also outputs `True`. Hence it seems that
`Poset({r1:[r2]}).is_subposet(Poset({i1:[i2]}))` should also return
`True`. But I would like someone to confirm this.
--
Ticket URL: <http://trac.sagemath.org/ticket/15875#comment:10>
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.