-
-
Notifications
You must be signed in to change notification settings - Fork 685
Closed
Milestone
Description
There is an inconsistency between several implementations of methods content for polynomials which either return the gcd of the coefficients or the ideal generated by the coefficients.
To remove the inconsistency, we implement two distinct methods:
contentreturns the gcd of the coefficients;content_idealreturns the ideal generated by the coefficients.
In a period of deprecation, for (most) univariate polynomial rings, content is a deprecated alias for content_ideal. In the future, content will be defined everywhere as described above.
CC: @sagetrac-mkosters @loefflerd
Component: commutative algebra
Keywords: polynomial, content
Work Issues: followup ticket mentioned in source code, update ticket summary
Author: Bruno Grenet
Branch/Commit: 017adb6
Reviewer: Julian Rüth
Issue created by migration from https://trac.sagemath.org/ticket/16613