IMSL C# Numerical Library

Complex.Exp Method 

Returns the exponential of a Complex z, exp(z).

public static Complex Exp(
   Complex z
);

Parameters

z
A Complex object.

Return Value

A newly constructed Complex initialized to the exponential of the argument.

Remarks

Specifically, if z = x+iy,

\exp(\bar{z}) = \overline{\exp(z)}.

\exp(\pm 0 + i0) returns 1 + i0.

\exp(+\infty + i0) returns +\infty + i0.

\exp(-\infty + i\infty ) returns \pm 0 \pm  i0 (where the signs of the real and imaginary parts of the result are unspecified).

\exp(+\infty + i\infty ) returns \pm \infty + i\NaN (where the sign of the real part of the result is unspecified).

\exp(x + i\infty ) returns \NaN + i\NaN, for finite x.

\exp(-\infty + iy) returns +0 [\cos(y)+i\sin(y)], for finite y.

\exp(+\infty + iy) returns +\infty [\cos(y)+i\sin(y)], for finite nonzero y.

\exp(-\infty + i\NaN) returns \pm 0 \pm  i0 (where the signs of the real and imaginary parts of the result are unspecified).

\exp(+\infty + i\NaN) returns \pm \infty + i\NaN (where the sign of the real part of the result is unspecified).

\exp(\NaN + i0) returns \NaN + i0.

\exp(\NaN + iy) returns \NaN + i\NaN, for all non-zero numbers y.

\exp(x + i\NaN) returns \NaN + i\NaN, for finite x.

See Also

Complex Class | Imsl.Math Namespace