Ask Your Question

Revision history [back]

You declare R.<x>=RR[] but this invokes the normal polynomial ring with positive integer exponents. You should use symbolics for your numeric purposes, as tmonteil has shown to you.

In fact, in mathematics there exist polynomial rings with other type of exponents:

  • from ZZ: Laurent polynomials
  • from QQ: Puiseux polynomials