On Oct 12, 7:36 am, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > This e-mail is too long. Here's the bottom line: I suggest that the > coefficient method on a multivariate polynomial ring take a dictionary > indicating the variables and degrees that you want to restrict your attention > to.
Sounds like a great idea. > Does anyone have any objection? It actually seems like a dictionary of > variables whose exponents you want to control would make a much better > interface to this. In any case, we can maintain both functionalities by > checking the type of the parameter. I would actually slightly prefer to remove the previous interface. It seems very hard to use; worse, it seems like it would be easy to accidentally write buggy code using the old interface. (I actually have code that finds f.coefficient({y:0}) by starting with f and subtracting out all larger coefficients of y.) Carl --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---