On Wednesday, January 15, 2014 2:17:10 PM UTC-8, rjf wrote: > > If the polynomial is multivariate, you need to specify the > quotient/remainder "main variable". > I don't see it in the syntax you give below. > consider x+y divided by x-y. can give 1 with remainder 2y. > It can also give -1 with remainder 2x. > RJF > > PS, I think it is unfortunate if a user of Sage must know what is meant > by a polynomial ring in order to > do something from high school algebra. Just saying. >
Even if it's a univariate polynomial, the lcm, or the quotient and remainder for that matter, depend on the ring in which you're working: is it Z[x], Q[x], Q(x), etc.? So is it really unfortunate that someone has to be mathematically precise to get a valid mathematical answer? I think that some people may be taught in high school that a quadratic like x^2+1 has no roots. Is it unfortunate that someone has to know the difference between R and C to "do something from high school algebra"? -- John -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.