Hi,

This is from sage-support

On Sep 1, 11:35 pm, Mani chandra <mchan...@iitk.ac.in> 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
----------

William mentioned in this thread

http://groups.google.com/group/sage-support/browse_thread/thread/7bf451cf8202e085/10e81a803518f17c

that Sage does attempt to make default domain for maxima
to be complex. So something must be going horribly wrong.

Here is the trac ticket

http://trac.sagemath.org/sage_trac/ticket/6862


Cheers,
Golam

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to