#14630: Add `simplify_real` method to symbolic expressions
------------------------------------+---------------------------------------
Reporter: mjo | Owner: burcin
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.10
Component: symbolics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Michael Orlitzky | Merged in:
Dependencies: | Stopgaps:
------------------------------------+---------------------------------------
Comment (by kcrisman):
You need to do `\left|x\\right|`.
----
I'm not sure about all the stuff in the doc and the code, but I think that
some of the doc is doing the code and vice versa? For instance,
{{{
# Forget all assumptions
}}}
but you don't do that in the code. And the corresponding part in the doc
seems to imply that in order to use `simplify_real` you have to assume
variables are real... I may be misunderstanding something here. I think
this could be a good way to solve the issue at hand.
My question is how this will interact with the other simplifications. I
seem to recall that in some of the more controversial (e.g.
`radcan`-related) simplifications we do, part of the issue is whether the
variable is real... that recollection may be outdated. Anyway, I could
imagine that `simplify_foo` simplified differently whether one was real or
complex, though I hesitate to add `simplify_foo_real` for all `foo`!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14630#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.