On Nov 26, 2008, at 2:14 AM, Robert Bradshaw wrote:

>
> Yes, there is.
>
> sage: var('a')
> sage: assume(a>=0)
> sage: sqrt(a^2)
> a
>

Thanks.

Is there a way to do this for just a single call?
Or is one supposed to just clear the assumption after the
fact (I think the latter is done with forget() if I read
the documentation correctly)?

Cheers,

Tim.

---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo

--~--~---------~--~----~------------~-------~--~----~
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