next up previous contents index
Next: Complex Functions with two Up: Complex Functions Previous: Complex Constants

Complex Functions with one Complex Argument

 

COMPLEX g_cneg (COMPLEX u)
-u

COMPLEX g_cinv (COMPLEX u)
1 / u

COMPLEX g_cconj (COMPLEX u)
conjugate of u

double g_creal (COMPLEX u)
Re(u)

double g_cimag (COMPLEX u)
Im(u)

double g_cnorm (COMPLEX u)
|u|

double g_carg (COMPLEX u)
argument of u, return value is -pi < carg(u) <= +pi

COMPLEX g_cexp (COMPLEX u)
exp(u)

COMPLEX g_csin (COMPLEX u)
sin(u)

COMPLEX g_ccos (COMPLEX u)
cos(u)

COMPLEX g_ctan (COMPLEX u)
tan(u)

COMPLEX g_ccot (COMPLEX u)
cot(u)

COMPLEX g_csinh (COMPLEX u)
sinh(u)

COMPLEX g_ccosh (COMPLEX u)
cosh(u)

COMPLEX g_ctanh (COMPLEX u)
tanh(u)

COMPLEX g_ccoth (COMPLEX u)
coth(u)

COMPLEX g_clog (COMPLEX u)
logarithm of u, undefined on the negative x-axis

COMPLEX g_csquare (COMPLEX u)
u * u

COMPLEX g_ccube (COMPLEX u)
u * u * u

COMPLEX g_csqrt (COMPLEX u)
square root of u, undefined on the negative x-axis



SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.