Option variable
%emode
Default value: true
When %emode
is true
,
%e^(%pi %i x)
is simplified as
follows.
%e^(%pi %i x)
simplifies to cos (%pi x) + %i sin (%pi x)
if x
is an integer or
a multiple of 1/2, 1/3, 1/4, or 1/6, and then further simplified.
For other numerical x
,
%e^(%pi %i x)
simplifies to %e^(%pi %i y)
where y
is x - 2 k
for some integer k
such that abs(y) < 1
.
When %emode
is false
, no
special simplification of %e^(%pi %i x)
is carried out.