#20102: test fixed series expansion of powers of functions at poles
-------------------------------+------------------------
       Reporter:  behackl      |        Owner:
           Type:  defect       |       Status:  new
       Priority:  major        |    Milestone:  sage-7.1
      Component:  symbolics    |   Resolution:
       Keywords:  pynac        |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:  pynac-0.6.3  |     Stopgaps:
-------------------------------+------------------------
Description changed by behackl:

Old description:

> Currently we have the following behavior:
> {{{
> sage: (gamma(x)^2).series(x==0, 2)
> Traceback (most recent call last):
> ...
> ValueError: psi_eval(): simple pole
> sage: (zeta(x)^2).series(x==1, 2)
> (Infinity) + (Infinity)*(x - 1) + Order((x - 1)^2)
> sage: (tan(x)^2).series(x==pi/2, 2)
> (Infinity) + (Infinity)*(-1/2*pi + x) + Order(1/4*(pi - 2*x)^2)
> }}}
>
> This is fixed in the current development version of pynac. This ticket
> shall add corresponding doctests.

New description:

 Currently we have the following behavior:
 {{{
 sage: (gamma(x)^2).series(x==0, 2)
 Traceback (most recent call last):
 ...
 ValueError: psi_eval(): simple pole
 sage: (zeta(x)^2).series(x==1, 2)
 (Infinity) + (Infinity)*(x - 1) + Order((x - 1)^2)
 sage: (tan(x)^2).series(x==pi/2, 2)
 (Infinity) + (Infinity)*(-1/2*pi + x) + Order(1/4*(pi - 2*x)^2)
 }}}

 This is fixed in the current development version of pynac, see
 https://github.com/pynac/pynac/issues/135. This ticket shall add
 corresponding doctests.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/20102#comment:1>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to