Mani chandra wrote:
> Hi,
>
>     There seems to be some issue with "simplify" when used in the 
> following manner:
>
> sage: var('x, a, b')
> (x, a, b)
> sage: x = a + I*b
> sage: x.conjugate()
> conjugate(a) - I*conjugate(b)
> sage: x.conjugate().simplify()
> a - I*b
>
> Aren't (a, b) complex by default?, then why is SAGE giving out a - I*b 
> when I say  x.conjugate().simplify() but conjugate(a) - I*conjugate(b) 
> when only x.conjugate() is called?
>
> Thanks,
> Mani chandra
>
> >
>
>   
Another problem:

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)

Something definately seems to be wrong here.

--Mani chandra



--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to