#19141: Poset documentation polishing: Boolean-valued properties
-------------------------------------+-------------------------------------
       Reporter:  jmantysalo         |        Owner:
           Type:  enhancement        |       Status:  positive_review
       Priority:  minor              |    Milestone:  sage-6.10
      Component:  combinatorics      |   Resolution:
       Keywords:  poset              |    Merged in:
        Authors:  Jori Mäntysalo     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jmantysalo/poset_documentation_polishing__boolean_valued_properties|  
39d1e185906821d6fcece65560e1081eb11e1493
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Replying to [comment:23 kdilks]:
 > My main point is that I really think {{{is_chain()}}} should be the
 method that checks if a given set is a chain of the poset. Maybe we could
 rename the other method {{{is_chain_poset()}}} ? But maybe that can be a
 separate ticket, I'll set positive review for the changes made here.

 You can have both
 {{{
 def is_chain(self, data=None):
     r"""
     Test whether a given subset of elements is a chain.

     By default, does the test for all the elements of the poset.
     """
     if data is None:
         data = self
 }}}

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