| 1 | initial version |
Given the Sage object h you can see which methods apply to it, with the tab completion:
sage: h.<TAB>
You will see that there is an expression method:
sage: h.expression()
(-t + 1, sqrt(-t^2 + 2*t))
This is a tuple, and you can get its entrie as follows:
sage: h.expression()[0]
-t + 1
sage: h.expression()[1]
sqrt(-t^2 + 2*t)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.