2007/10/16, Steffen <[EMAIL PROTECTED]>: > Hi didier, > > the implementation does not return a polynomial of a total degree of > at most 4, but a polynomial of total degree of at most 4/2 = 2 in x > and in y. If I change the total degree to 5, nothing happens, since > 5/2 = 2. This might be a bug in the implementation. However I am happy > with this behaviour and maybe there should be the option for choosing > the total degree or the degree in every variable.
For total degree, I'm using the definition here: http://planetmath.org/encyclopedia/OrderAndDegreeOfPolynomial.html So I am not concerned about individual degrees at all. > Furthermore I am not happy with this implementation in general. In > step 1.) you do not care about repetitions. This sounds reasonible > since repetitions are part of randomness. Later in step 3) you do care > about repetetions and summarise them under the value 0. If the value 0 I don't explicitly discard repetitions in 3), the dictionary object takes care of that by discarding repeated keys (in this case, the keys are the degree tuples). didier > gains the same importance as all other values in the corresponding set > of values, than the multiple occurance of 0 is a repetition, too. > > I am quite new in SAGE and have no idea how sage code looks like, but > I will have a look and see if I can do some changes :-) > > Cheers, Steffen > > > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---