#16671: implement harmonic number function H(n,m)
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  symbolics          |   Resolution:
       Keywords:  special, log       |    Merged in:
        Authors:  Ralf Stephan       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/rws/implement_harmonic_number_function_h_n_m_|  
0c93bfe4da1bd2b3a77865ae0a6878007726fff8
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by rws):

 Replying to [comment:9 nbruin]:
 > Regular languages are not sufficient to describe expression languages
 (the nested parentheses can't be expressed in a regular language--they
 need a stack or something similar). Can't you get that conversion by
 giving an appropriate `sage.symbolic.pynac.register_symbol`? then you get
 to use the parentheses parser that is already in place.
 Is there ready mechanics for this? I can't find one. Do you expect me to
 implement it?
 > you see that this should simply be
 > {{{
 > sage.functions.log.harmonic_number : lambda N,X : [[max_harmo],X,N],
 > }}}
 Thanks, included.

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