complex

complex arithmetic 

Function Summary


SYNOPSIS

#include <complex.h>


DESCRIPTION

These functions support complex arithmetic in the C math library.


LIST OF FUNCTIONS

Each of the following double complex functions has a float complex counterpart with an 'f' appended to the name and a long double complex coun- terpart with an 'l' appended. As an example, the float complex and long double complex counterparts of double cabs()(double complex z) are float cabsf()(float complex z) and long double cabsl()(long double complex z), respectively.

Absolute-value Functions

Name Description
cabs() complex absolute value (i.e. norm, modulus, magnitude)
csqrt() complex square root

Exponential Function

Name Description
cexp() exponential base e

Manipulation Functions

Name Description
carg() compute the argument (i.e. phase angle)
cimg() compute the imaginary part
conj() compute the complex conjugate
cproj() compute projection onto Riemann sphere
creal() compute the real part

Trigonometric and Hyperbolic Functions

Name Description
cacos() inverse trigonometric function
cacosh() inverse hyperbolic function
casin() inverse trigonometric function
casinh() inverse hyperbolic function
catan() inverse trigonometric function
catanh() inverse hyperbolic function
ccos() trigonometric function
ccosh() hyperbolic function
csin() trigonometric function
csinh() hyperbolic function
ctan() trigonometric function
ctanh() hyperbolic function


CONFORMANCE

ANSI/ISO 9899:1999 'ISO C99'.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
fenv(), math(), tgmath()


PTC MKS Toolkit 10.5 Documentation Build 40.