预订演示
前页 后页

cexp

Complex exponential function.

SYNOPSIS:

void cexp();
cmplx z, w;

cexp(&z, &w);

DESCRIPTION:

Returns the exponential of the complex argument z into the complex result w.

If
     z = x + iy,
     r = exp(x),

then

     w = r cos y + i r sin y.

ACCURACY:

                      Relative error:
arithmetic   domain     # trials      peak         rms
    DEC       -10,+10      8700       3.7e-17     1.1e-17
    IEEE      -10,+10     30000       3.0e-16     8.7e-17