Complex conjugates



I haven't been using them for a while, so I don't recall all the details.

Something about realpart,imagpart,rectfrom going off on an arctangent...

At 08:07 PM 6/27/2012, Stavros Macrakis wrote:
>Henry,
>
>Have you reported the problems you're having with real/imagpart?  I think it would be useful to document all the problematic cases so that next time someone works on it, they can be improved.
>
>             -s
>
>On Wed, Jun 27, 2012 at 9:29 AM, Henry Baker <hbaker1 at pipeline.com> wrote:
>I do a lot of algebra with complex variables, with some expressions growing to thousands of terms.
>
>Due to the amount of space taken up by Maxima writing out "conjugate(foo)" in full for every conjugated
>variable, I'd love to shorten this to " foo' " (or equivalent).  I'm not so worried about
>_input_ of conjugate as _output_.
>
>Is there any "easy"/"trivial" way to accomplish this in Maxima ?
>
>---
>On a separate note, I've almost given up on using "realpart()", "imagpart()" and "rectform()"
>due to unpredictable behavior.  I use
>
>mrealpart(x):=(x+conjugate(x))/2;
>
>mimagpart(x):=(x-conjugate(x))/2/%i;
>
>instead.
>
>So I'm relatively happy with the functional operation of "conjugate()"; I'd just like to cut down
>on the volume of output characters.
>
>Thanks in advance for any help.
>
>Henry Baker
>Santa Barbara, CA