For example

(x^5 + x^2+ (5*a)*x^3).collect(x)

returns

x^5 + 5*a*x^3 + x^2

as I expected, but

(x^5 + x^2+ (5*a)*x^3 + (10*a^2 + 6*a + 5)*x).collect(x)

returns

x^5 + 5*a*x^3 + (10*a^2 + 6*a + 5)*x + x^2

How to order polynomial as "normal", i.e. descending exponents of x?

 * * *

Documentation for collect-function is also almost missing, there is no explanation at all.

--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to