#20076: coefficients_of_generating_function fails for log-singularity with zeta
!=
1
-------------------------------------+----------------------------
Reporter: behackl | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.1
Component: asymptotic expansions | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------------------+----------------------------
{{{
sage: A.<n> = AsymptoticRing('QQ^n * n^QQ', QQ)
sage: def f(z):
....: return log(1-2*z)
sage: A.coefficients_of_generating_function(f, (1/2,), precision=5)
Traceback (most recent call last):
...
TypeError: Cannot apply the substitution rules {Z: n} on -1/2*2^Z*Z^(-1) +
O(2^Z*Z^(-3)) in Asymptotic Ring <(Symbolic Constants Subring)^Z *
Z^(Symbolic Constants Subring) * log(Z)^(Symbolic Constants Subring)> over
Symbolic Ring.
> *previous* TypeError: Cannot substitute in -1/2*2^Z*Z^(-1) +
O(2^Z*Z^(-3)) in Asymptotic Ring <(Symbolic Constants Subring)^Z *
Z^(Symbolic Constants Subring) * log(Z)^(Symbolic Constants Subring)> over
Symbolic Ring.
>> *previous* TypeError: Cannot substitute in O(2^Z*Z^(-3)) in O-Term
Monoid (Symbolic Constants Subring)^Z * Z^(Symbolic Constants Subring) *
log(Z)^(Symbolic Constants Subring) with implicit coefficients in Symbolic
Ring.
>>> *previous* TypeError: Cannot substitute in 2^Z*Z^(-3) in Growth Group
(Symbolic Constants Subring)^Z * Z^(Symbolic Constants Subring) *
log(Z)^(Symbolic Constants Subring).
>>>> *previous* TypeError: Cannot substitute in 2^Z in Growth Group
(Symbolic Constants Subring)^Z.
>>>>> *previous* TypeError: no canonical coercion from Asymptotic Ring
<n^QQ * QQ^n> over Rational Field to Symbolic Constants Subring
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20076>
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.