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

Latex function for sparse PolynomialRing is not sparsely implemented #17177

Open
johanrosenkilde opened this issue Oct 19, 2014 · 0 comments
Open

Comments

@johanrosenkilde
Copy link
Contributor

When pretty-printing a sparse polynomial, the latex function seems to run in linear time and memory on the size of the greatest exponent:

sage: F = GF(59)
sage: PF = PolynomialRing(F, 'x', sparse=True)
sage: x,=PF.gens()
sage: str(x^(10^12) + x)
x^1000000000000 + x
sage: latex(x^(10^12) + x)
<BOOM: MemoryError>

Component: algebra

Keywords: sparse polynomial

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

@johanrosenkilde johanrosenkilde added this to the sage-6.4 milestone Oct 19, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
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

2 participants