#17108: IncidenceStructure.degree(set={1,2,3})
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers:
Authors: Nathann Cohen | Work issues:
Report Upstream: N/A | Commit:
Branch: u/ncohen/17108 | f82b9c41095b538a5da29ba015264c24adddc7c4
Dependencies: #17104 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by dimpase):
Replying to [comment:18 ncohen]:
> Hello !
>
> > looks very non-intuitive (Why `p`? Why `set`?!). I'd suggest
>
> You are meant to use `H.degree(a_point), H.degree(set=set_of_points),
H.degree(sets_of_size=3)`
> > {{{
> > degree(self, *args, sets_of_size=None)
> > }}}
> > and args are either your `p` or your `set`, or None.
>
> I cannot do that, for I may have both `1` and `{1}` in the incidence
structure.
>
{{{
blah.degree(1)==blah.degree({1})
}}}
need not hold, as
{{{
isinstance({1},set)==True
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17108#comment:19>
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.