#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):

 Replying to [comment:12 rws]:
 > Does the same with the patch. Maybe include the fix here? Is it simple?
 Might not be too bad. I think the problem is in
 
[http://git.sagemath.org/sage.git/tree/src/sage/symbolic/expression_conversions.py#n515
 sage.symbolic.expression_conversions.InterfaceInit.derivative (line 515 or
 so)]. You can see there that the string representation of a derivative
 expression gets assembled by using `f.name()`. Replacing that by
 `f._maxima_init_()` might already do a better job:
 {{{
 sage: gamma(x,y).operator().name()
 'gamma'
 sage: gamma(x).operator().name()
 'gamma'
 sage: gamma(x,y).operator()._maxima_init_()
 'gamma_incomplete'
 sage: gamma(x).operator()._maxima_init_()
 'gamma'
 }}}

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