Thank you both for your replies.
It's interesting that in Andrej's examples, the e^x and exp(x) form do
not yield the same result,
since in maxima (which I know next to nothing about) we have
(%i1) declare(m, integer);
(%o1)                                done
(%i2)  rectform(exp(2*m*%i*%pi));
(%o2)                                  1
(%i3)  rectform(%e^(2*m*%i*%pi));
(%o3)                                  1

Is this a problem with the sage conversion?
Note these two different behaviours:

sage: var('m'); assume(m, 'integer')
m
sage: e^(i*2*pi*m)._maxima_().rectform()
e^(2*I*pi*m)
sage: exp(i*2*pi*m)._maxima_().rectform()
1

but (this was tested in a new sage/maxima session)

sage: var('m'); maxima('declare(m, integer)')
m
done
sage: maxima(e^(i*2*pi*m)).rectform()
1
sage: maxima(exp(i*2*pi*m)).rectform()
1






-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to