#16697: implement symbolic lower incomplete gamma function
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  symbolics          |   Resolution:
       Keywords:  gamma,             |    Merged in:
  incomplete, special, functions     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  d8d7ee29d7d0f8cf9f884c4403fe5c36cdf3336d
  u/rws/implement_symbolic_lower_incomplete_gamma_function|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by nbruin):

 On [https://groups.google.com/d/msg/sage-support/duiLiYbLNww/i8towxGMOkUJ
 sage-support] Rafael Greenblatt reports
 {{{
 sage: (incomplete_gamma(x,y).diff(x)).simplify()
 TypeError: ECL says: Error executing code in Maxima: gamma: wrong number
 of arguments.
 }}}
 The problem probably arises because the function ends up separated from
 its arguments:
 {{{
 sage: incomplete_gamma(x,y).diff(x)
 D[0](gamma)(x, y)
 }}}
 which might confuse the translator (the behaviour is consistent with just
 going by strings). The changes here might improve the situation. It's
 worth checking.

 The following of course works because it does NOT primarily look at
 strings:
 {{{
 sage: from sage.interfaces.maxima_lib import *
 sage: maxima_calculus(sr_to_max(incomplete_gamma(x,y).diff(x)))
 'diff(gamma_incomplete(x,y),x,1)
 }}}

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