#19947: conversion SR to asymptotic ring
-------------------------------------+----------------------------
   Reporter:  cheuberg               |            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:                         |
-------------------------------------+----------------------------
 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.

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