#6862: Mixing of different domains for symbolic variables
-----------------------+----------------------------------------------------
Reporter: gmhossain | Owner:
Type: defect | Status: new
Priority: critical | Milestone:
Component: symbolics | Keywords:
Reviewer: | Author:
Merged: |
-----------------------+----------------------------------------------------
From suge-support
On Sep 1, 11:35 pm, Mani chandra <[email protected]> wrote:
> Mani chandra wrote:
{{{
sage: x = a + I*b
sage: real(x.conjugate().simplify())
real_part(a) + imag_part(b)
sage: real(x.conjugate())
real_part(a) - imag_part(b)
}}}
This seems to be happening because maxima(via simplify)
treats variables as real whereas pynac treats as
complex.
{{{
sage: x.conjugate()
conjugate(a) - I*conjugate(b)
sage: x.conjugate().simplify()
a - I*b
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6862>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---