Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quotient for univariate Laurent polynomials #5682

Closed
kedlaya opened this issue Apr 4, 2009 · 2 comments
Closed

Quotient for univariate Laurent polynomials #5682

kedlaya opened this issue Apr 4, 2009 · 2 comments

Comments

@kedlaya
Copy link
Sponsor Contributor

kedlaya commented Apr 4, 2009

It would be nice if this worked rather than returning an error:

sage: F.<t> = LaurentPolynomialRing(GF(2))
sage: t // t
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/kedlaya/.sage/temp/kedlaya_laptop/18179/_home_kedlaya__sage_init_sage_0.py in <module>()

TypeError: unsupported operand type(s) for //: 'sage.rings.polynomial.laurent_polynomial.LaurentPolynomial_mpair' and 'sage.rings.polynomial.laurent_polynomial.LaurentPolynomial_mpair'

As it stands, I don't think univariate Laurent polynomial rings over a field support any division operation that stays within the ring:

sage: (t/t).parent()
Fraction Field of Univariate Laurent Polynomial Ring in t over Finite Field of size 2

except maybe if I access the internal representation (as a quotient ring) and implement it by hand.

Component: algebra

Keywords: Laurent polynomial, quotient, division

Issue created by migration from https://trac.sagemath.org/ticket/5682

@tscrim
Copy link
Collaborator

tscrim commented Apr 9, 2014

comment:1

This is done in #11726.

@kedlaya
Copy link
Sponsor Contributor Author

kedlaya commented Apr 9, 2014

comment:2

Agreed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants