diff(realpart(z),z) => realpart(1) ?!?!
Realpart is nowhere differentiable!
Logged In: YES
Observed in 5.9.3cvs.
In the routine sdiff the following code is implemented:
((member (caar e) '(%realpart %imagpart) :test #'eq)
(list (cons (caar e) nil) (sdiff (cadr e) x)))
diff(realpart(f(x)),x) --> realpart(diff (f(x),x)) and
diff(imagpart(f(x),x)) --> imagpart(diff(f(x),x)).
Both rules are wrong. The code should be simply cut out. The testsuite has no problems and does not depend on this code.
These are some results, when we cut out the code:
A noun form for a complex symbol:
For a real symbol realpart and imagpart simplify and we get:
An unknown function does not simplify and we get again the noun forms:
Maxima knows how to simplify the sin function and we get:
I think we should cut out the above code.
The rule for differentiating realpart and imagpart has been removed as suggested.
Closing this bug report as fixed.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.