ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 02 Jul 2018 03:32:56 +0200What is the best way to implement polynomials with fractional exponents with SageMath?https://ask.sagemath.org/question/42803/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?Mon, 02 Jul 2018 02:54:42 +0200https://ask.sagemath.org/question/42803/what-is-the-best-way-to-implement-polynomials-with-fractional-exponents-with-sagemath/Answer by slelievre for <p>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?</p>
https://ask.sagemath.org/question/42803/what-is-the-best-way-to-implement-polynomials-with-fractional-exponents-with-sagemath/?answer=42804#post-id-42804Polynomial with fractional exponents are also called Puiseux polynomials.
Implementing Puiseux polynomials and Puiseux series in Sage is tracked at:
- [Sage Trac ticket 9289: Puiseux polynomials](https://trac.sagemath.org/ticket/9289)
- [Sage Trac ticket 4618: Puiseux series](https://trac.sagemath.org/ticket/4618)
See also this other Ask Sage question
- [Ask Sage question 32861: Puiseux series expansion](https://ask.sagemath.org/question/32861)Mon, 02 Jul 2018 03:32:56 +0200https://ask.sagemath.org/question/42803/what-is-the-best-way-to-implement-polynomials-with-fractional-exponents-with-sagemath/?answer=42804#post-id-42804