Thank you for your opinions. Another question I did not think about:

Right now, for multivariate polynomials, content returns the gcd of the coefficients, even for non principal rings. For instance, over ZZ['t']['x,y'], (2*x + t*y).content() returns 1.

Should I mimic this behavior for univariate polynomials, or should I raise an exception? That is: *Should content raise an exception over non-principal rings, or return the gcd of the coefficients?*

In any case, I guess that we should be consistent between both implementations!

Bruno

Le 18/05/2016 12:58, Andrew a écrit :
I also vote for 3: command/method names should be as meaningful as possible, especially since tab-completion means that no one ever needs to type long names. (Short-hands such as and `gens` for generators drive me nuts:)

The name `content` doesn't meet this aim but `content_ideal` does.

On Wednesday, 18 May 2016 19:27:22 UTC+10, mmarco wrote:

    I vote for 3

--
You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com <mailto:sage-devel+unsubscr...@googlegroups.com>. To post to this group, send email to sage-devel@googlegroups.com <mailto:sage-devel@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to