-
-
Notifications
You must be signed in to change notification settings - Fork 661
Closed
Description
As long as generator and variable names can be associated there should not be a problem to convert from a symbolic expression to a univariate polynomial with symbolic coefficients, but:
sage: S.<y> = PolynomialRing(SR)
sage: y = SR.var('y')
sage: p = S(y^2 + pi*y + 1)
sage: p.coefficients()
[pi*y + y^2 + 1]
(Should be [1, pi, 1]
).
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/20453