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

Comment (by rws):

 The reason why `gamma_inc(x,y)` gets output as `gamma(x,y)` is not
 conversion as I thought but simple naming super in the constructor. It
 would be just as easy to make that `gamma_inc` and change a few doctests
 such that then:
 {{{
          sage: f = exp_integral_e(-1,x)
          sage: f.integrate(x)
 -        Ei(-x) - gamma(-1, x)
 +        Ei(-x) - gamma_inc(-1, x)

              sage: gamma_inc(3,2)
 -            gamma(3, 2)
 +            gamma_inc(3, 2)

              sage: gamma(3,2)
              gamma_inc(3, 2)

              sage: gamma(x,0)
              gamma(x)

              sage: gamma(x, 0, hold=True)
 -            gamma(x, 0)
 +            gamma_inc(x, 0)
 }}}
 I'm appending the patch that enables this here, so it is preserved.

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