On 05/17/11 09:01, Michael Orlitzky wrote: > I'd like to add some simple assumptions, e.g. > > assume(x > 0) > assume(y > 0) > ... > > to the top of a Python file and have them used in all symbolic > calculations that follow. But, they don't seem to take hold like they do > from within the Sage prompt. > > Is there a way to make it do what I want? >
Disregard that, it seems, sage: (abs(x - x0)^2).simplify() abs(-x + x0)^2 doesn't work either. I did a poor test. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org