Dear Laurent,
On May 14, 12:57 pm, Laurent <[email protected]> wrote:
> Btw, the function simplify_full does not exist ... so I suppose that I
> *do* miss something.
Yes. simplify_full is not a function but a method (after all, python
is object oriented).
So, you can do:
sage: x,y=var('x,y')
sage: s = x*y^2 + x*(-y^2 - x^2 + 1) + x^3 - x
sage: s
x*y^2 + x*(-y^2 - x^2 + 1) + x^3 - x
sage: s.simplify_full()
0
Btw, for getting a list of methods, the TAB-Key helps. For example,
type in
sage: s.sim
and press the TAB-key. Then a list appears:
s.simplify s.simplify_log s.simplify_trig
s.simplify_exp s.simplify_radical
s.simplify_full s.simplify_rational
And these are all attributes/methods of s whose names start with
'sim'.
Best regards,
Simon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---