Exponential, complex and imaginary
For complex numbers, the exponential function is defined as
exp(z) = exp(z.re)cos(z.im) + exp(z.re)sin(z.im)i.
For a pure imaginary argument, exp(θi) = cos(θ) + sin(θ)i.
See Implementation
Exponential, complex and imaginary
For complex numbers, the exponential function is defined as
exp(z) = exp(z.re)cos(z.im) + exp(z.re)sin(z.im)i.
For a pure imaginary argument, exp(θi) = cos(θ) + sin(θ)i.