#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:22 ncohen]:
 > > well, at least in set theory 1 is not equal to {1}. Thusly the answer
 should be 1, as opposed to `H.degree(1)`, which should be 2.
 >
 > What I am saying is that from the command there is no way if by
 `H.degree(Set([1]))` the user means "give me the degree of the point
 Set([1])" or "give me the degree of the set that only contain the point
 1".
 >
 > This is why I need this "set=" parameter to make the difference.

 Ah, right. Then I'd just go for `degree()` (for points) and
 `subset_degree()` (for subsets), to avoid dealing with paradoxes of set
 theory (;-).

--
Ticket URL: <http://trac.sagemath.org/ticket/17108#comment:23>
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.

Reply via email to