On Jun 27, 11:50 am, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > On Friday 27 June 2008 04:59:37 am Burcin Erocal wrote: > > In general, the difference between > multivariate and univariate should not matter in practice. > +1.
E.g. exponents() on univariate ring returns a list of int, while exponents() on a multivariate ring returns a list of list of ints (well, not lists exactly, actually, but conceptually the returned object is a list). So any code dealing with exponents has to have one case for univariate rings and another case for multivariate rings. Univariate rings should have an interface that works exactly the same as the one for multivariate rings, except that it can have additional methods that make sense only for univariate rings. I would actually even prefer there to be no distinction at all, and for *polynomial* rings (not multivariate or univariate) just to have methods that raise an exception if called on a ring that has more or less than a single variable, if we really need univariate-only functionality. /Bjarke --~--~---------~--~----~------------~-------~--~----~ 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://www.sagemath.org -~----------~----~----~----~------~----~------~--~---