On Tuesday 20 March 2007 5:30 pm, Kyle Schalm wrote: > > Work over QQ instead: > > > > sage: W.<w1,w2> = QQ['w1','w2'] > > sage: factor(w1*w2) > > w2 * w1 > > > > One can reduce factoring over ZZ to over QQ, with some work. > > Volunteers...? > > > > William > > oh good, an easy workaround. the same trick doesn't seem to work if the > base ring is a polynomial ring, that is, replacing it with its fraction > field still doesn't work. but your workaround will do for now. thanks.
Presumably one can do this case too by: (1) clearing denominators, (2) working in a polynomial ring in all the variables, (3) and choosing a suitable term ordering on the indeterminantes, then (4) factoring in the bigger poly ring. Again, if somebody ones to make this work natively (without the user having to know any tricks), a patch would be welcome. William --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---