I've looked around in the documentation but have not been able to
figure out how to access individual terms in an symbolic expression.
For example:
var('x,y')
t = x^2 + y^2

How do I access the first term in t?  I want to assign it to another
variable, like first_term = t.extract_term(t,1) to get first_term to
be x^2.

Thanks

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to