Should maxima know that if A is complex, A = realpart(A) + %i * imagpart(A) ?
Subject: Should maxima know that if A is complex, A = realpart(A) + %i * imagpart(A) ?
From: Rob Frohne
Date: Tue, 11 Dec 2007 23:31:17 -0800
Hi,
I'm trying to figure out the tricks to working with complex equations in
maxima, and wonder about the following:
(%i49) declare(A, complex);
(%o49) done
(%i50) is(realpart(A)=A);
(%o50) false
(%i51) is(imagpart(A)=A);
(%o51) false
(%i52) is(A=realpart(A)+%i*imagpart(A));
(%o52) false
Maxima seems to know that if A is real, realpart(A)=A.
What do you think? Is there a good way to fix this, or a good reason
not to?
Rob