#17556: Move simplify_log() from simplify_full() to simplify_real()
---------------------------+----------------------------
Reporter: mjo | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.5
Component: symbolics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+----------------------------
The `simplify_log` function assumes that its argument is real; otherwise
the log contraction operation is invalid. For example,
{{{
sage: x,y = SR.var('x,y')
sage: assume(y, 'complex')
sage: f = log(x*y) - (log(x) + log(y))
sage: f(x=-1, y=i)
-2*I*pi
sage: f.simplify_log()
0
}}}
Now that we have a `simplify_real()` method, why not move `simplify_log()`
there instead?
In the process, the newer `simplify_rectform()` can be added to
`simplify_full()`.
I'm working on a patch for this.
--
Ticket URL: <http://trac.sagemath.org/ticket/17556>
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.
For more options, visit https://groups.google.com/d/optout.