FYI the Maxima functions conjugate, realpart/imagpart, & cabs/carg have been revised recently. Maybe you can try it with the most recent version (5.19.2). For the purposes of debugging I think it's best if you use Maxima directly instead of going through Sage.
On Sep 2, 5:49 am, Golam Mortuza Hossain <gmhoss...@gmail.com> wrote: > This seems to be happening because maxima(via simplify) > treats variables as real whereas pynac treats as complex. FWIW in order for conjugate & friends to recognize variables as complex, probably it is necessary to declare them as such (i.e. declare(foo, complex)). I think domain:complex won't have the same effect. Maybe Sage is already calling declare. HTH Robert Dodier --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---