Hi, First, I define the ring of polynomial over the rationals, S. Then define a polynomial g in S. Is there a simple way to convert g to type 'sage.symbolic.expression.Expression' ?
sage: S.<x> = PolynomialRing(QQ);S Univariate Polynomial Ring in x over Rational Field sage: g = x^3 - 11*x^2 + 40*x -48;type(g) <class 'sage.rings.polynomial.polynomial_element_generic.Polynomial_rational_dense'>- Thanks in advance for any assistance! Shing
-- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org