#16204: Add some methods in trees
-------------------------------------+-------------------------------------
       Reporter:  boussica           |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.10
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Adrien             |    Reviewers:  Vincent Delecroix
  Boussicault                        |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  3957b907b6038fc5cdf895f526c73de000c9452d
  u/boussica/add_some_methods_in_trees|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by boussica):

 Hi,

 No, it is not the same function.

 `bt.right_node_number` gives the number of right vertices inside the tree.
 It is not the number of vertices inside the right sub-tree.


 Replying to [comment:21 chapoton]:
 > `bt.left_node_number` and `bt.right_node_number` are already easily
 available as
 > {{{
 > bt[0].node_number()
 > }}}

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