#7165: a
------------------------+---------------------------------------------------
Reporter: fmaltey | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.2.1
Component: graphics | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
------------------------+---------------------------------------------------
Comment(by fmaltey):
I browse the two previous expressions real(...) and imaginary(...), and
test real(sqrt(...)).
Theses calculus are right and remain real.
{{{
real(sqrt(m)) ; real(sqrt(I*m)) ; real(sqrt(I*m+1)) # are right
}}}
But this one is the shorter that contains complex expressions :
{{{
real(sqrt(sqrt(m)+i+1))
}}}
The outer sqrt(...) assume that the inner sqrt is obvious ; so sqrt(m)+i+1
remains, even if it's a complex expression.
Then plot fails with this internal complex computation.
{{{
plot (real(sqrt(m)+i+1),m,-3,3) # fails with a system error
plot (real(m+i+1),m,-3,3) # is a pretty line
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7165#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 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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---