Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Convert to the symbolic ring ?

sage: x = polygen(QQ, 'x')
sage: unicode_art((x**3+4)/(x**7-66))
(x^3 + 4)/(x^7 - 66)
sage: unicode_art(SR((x**3+4)/(x**7-66)))
  3    
 x  + 4
───────
 7     
x  - 66

sage: unicode_art(SR(factor((x**3+4)/(x**4-1))))
          3             
         x  + 4         
────────────────────────
                ⎛ 2    ⎞
(x - 1)⋅(x + 1)⋅⎝x  + 1⎠