You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to play with polynomials on various kind of coefficients. So I tried
the following:
----------------------------------------------------------------------
| Sage Version 4.1.1, Release Date: 2009-08-14 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: combinat
sage: R=QQ[x]
sage: R(1+x)
x + 1
sage: R=ZZ[x]
sage: R(1+x)
x + 1
sage: R=RealField(200)[x]
sage: R(1+x)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[...]
TypeError: x is not a variable of Univariate Polynomial Ring in x over Real Field with 200 bits of precision
I need to play with polynomials on various kind of coefficients. So I tried
the following:
As mvngu pointed out on irc: the following works
But this is not very beautiful and worse it is very inconsistent...
At least the error message should be more understandable...
What should we do about it ?
Cheers,
Florent
Component: algebra
Issue created by migration from https://trac.sagemath.org/ticket/7101
The text was updated successfully, but these errors were encountered: