Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conversion SR to asymptotic ring #19947

Open
cheuberg opened this issue Jan 23, 2016 · 0 comments
Open

conversion SR to asymptotic ring #19947

cheuberg opened this issue Jan 23, 2016 · 0 comments

Comments

@cheuberg
Copy link
Contributor

It should be possible to convert a symbolic expression to an asymptotic expansion:

sage: A.<x1> = AsymptoticRing('x^QQ', QQ)
sage: A(x^2+x+1)
sage: A((x + 1)/(x - 1))
Traceback (most recent call last):
...
ValueError: (x + 1)/(x - 1) is not in Exact Term Monoid x^QQ with coefficients in Rational Field.
> *previous* ValueError: Factor x + 1 of (x + 1)/(x - 1) is neither a coefficient (in Rational Field) nor growth (in Growth Group x^QQ).
sage: ((x+1)/(x-1)).subs(x=x1)
Traceback (most recent call last):
...
TypeError: no canonical coercion from Asymptotic Ring <x^QQ>
over Rational Field to Symbolic Ring

Substitution is probably harder than conversion. Related to #19429.

CC: @dkrenn @behackl

Component: asymptotic expansions

Issue created by migration from https://trac.sagemath.org/ticket/19947

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants