In http://trac.sagemath.org/ticket/14630, I have a patch that adds a
simplify_real() method to symbolic expressions. Pretty much the only
thing it does is simplify,

  sqrt(x^2) -> abs(x)

In the past, you could obtain this with simplify_radical(), even though
the variable `x` involved was assumed to be complex. That was busted, so
it was removed. But some people need the simplification above (see e.g.
#14305), so the patch at least provides a way to get it.

I still think Expression.simplify_real() is the.. simplest.. way to go
about it. The tab completion is there, we get a docstring for the
method, it isn't tied nominally to maxima, etc. But there are other
valid suggestions on the ticket and it was suggested that input be
sought here.

So, please comment if you care one way or the other. If everyone thinks
the idea is dumb, my feelings won't be hurt: I just don't want a
needs_info ticket weighing heavy on my conscience!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to