Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #34653: __floordiv__ for sparse polynomials
Before this ticket, the following would raise an `ArithmeticError` in the sparse case: {{{ sage: P.<x,y> = PolynomialRing(SR) sage: R.<z> = PolynomialRing(P, sparse=False); R Univariate Polynomial Ring in z over Multivariate Polynomial Ring in x, y over Symbolic Ring sage: (x*z) // x z sage: R.<z> = PolynomialRing(P, sparse=True); R Sparse Univariate Polynomial Ring in z over Multivariate Polynomial Ring in x, y over Symbolic Ring sage: (x*z) // x z }}} URL: https://trac.sagemath.org/34653 Reported by: mantepse Ticket author(s): Martin Rubey Reviewer(s): Travis Scrimshaw
- Loading branch information