#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_|  
fd0ccd6ea2e7f6a0abf92ee85207c011250b9496
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by nbruin):

 Sorry, this isn't really your fault, but as it turns out the whole
 `_maxima_init_evaled_` mechanism gets used in a way that's broken:
 parameters do not get processed recursively. See #16732. As an
 illustration:
 {{{
 sage:sage: maxima_calculus(polylog(3,polylog(3,x)))
 li[3](polylog(3,x))
 }}}
 Note that the second argument doesn't get appropriately processed. Your
 implementation suffers from the same problem.

 Either we change the way that `_maxima_init_evaled_` gets called (i.e., we
 pass it arguments that are processed by the maxima translator itself) or
 we must change all the `_maxima_init_evaled_` implementations to do that
 properly (at least a bunch presently don't). An argument against giving
 `_maxima_init_evaled_` preprocessed arguments is that in principle it's
 conceivable that a function has an argument that needs special treatment.
 So letting `_maxima_init_evaled_` do the recursive argument processing
 under its own control is the more flexible (but more onerous) scheme.

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