Sean
Sean

Reputation: 21

What is the best way to implement polynomials with fractional exponents with SageMath?

I want to perform manipulations in a polynomial ring where the terms can have fractional exponents. However just trying to use the fractions returns a value error. Obviously I could just set the indeterminate to be some power of itself to eliminate the fractional exponents, but this would involve altering all the formulas, is there a better way?

Upvotes: 2

Views: 374

Answers (1)

Samuel Lelièvre
Samuel Lelièvre

Reputation: 3453

Puiseux series and Puiseux polynomials in SageMath

There are two Sage tickets on the topic, one about Puiseux series and a later one about Puiseux polynomials.

There have also been numerous discussions on sage-devel and sage-support.

There is a package where this functionality is implemented.

Puiseux series and Puiseux polynomials in Oscar

If using Sage is not a strong requirement, you could have a look at the implementation in Oscar. See the recent post on the Oscar blog:

Upvotes: 1

Related Questions