Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

complex(3) [freebsd man page]

COMPLEX(3)						   BSD Library Functions Manual 						COMPLEX(3)

NAME
complex -- complex arithmetic LIBRARY
Math Library (libm, -lm) 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 counterpart 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) cimag 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 arc cosine cacosh arc hyperbolic cosine casin arc sine casinh arc hyperbolic sine catan arc tangent catanh arc hyperbolic tangent ccos cosine ccosh hyperbolic cosine csin sine csinh hyperbolic sine ctan tangent ctanh hyperbolic tangent SEE ALSO
fenv(3), ieee(3), math(3), tgmath(3) ISO/IEC 9899:TC3, http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf. STANDARDS
The <complex.h> functions described here conform to ISO/IEC 9899:1999 (``ISO C99''). BUGS
The logarithmic functions clog() and the power functions cpow() are not implemented. BSD
October 17, 2011 BSD

Check Out this Related Man Page

CACOS(3)						   BSD Library Functions Manual 						  CACOS(3)

NAME
cacos, cacosf, cacosh, cacoshf, casin, casinf casinh, casinhf catan, catanf catanh, catanhf -- complex arc trigonometric and hyperbolic func- tions LIBRARY
Math Library (libm, -lm) SYNOPSIS
#include <complex.h> double complex cacos(double complex z); float complex cacosf(float complex z); double complex cacosh(double complex z); float complex cacoshf(float complex z); double complex casin(double complex z); float complex casinf(float complex z); double complex casinh(double complex z); float complex casinhf(float complex z); double complex catan(double complex z); float complex catanf(float complex z); double complex catanh(double complex z); float complex catanhf(float complex z); DESCRIPTION
The cacos(), casin(), and catan() functions compute the principal value of the inverse cosine, sine, and tangent of the complex number z, respectively. The cacosh(), casinh(), and catanh() functions compute the principal value of the inverse hyperbolic cosine, sine, and tan- gent. The cacosf(), casinf(), catanf() cacoshf(), casinhf(), and catanhf() functions perform the same operations in float precision. There is no universal convention for defining the principal values of these functions. The following table gives the branch cuts, and the corresponding ranges for the return values, adopted by the C language. Function Branch Cut(s) Range cacos (-infinity, -1) U (1, infinity) [0, pi] casin (-infinity, -1) U (1, infinity) [-pi/2, pi/2] catan (-infinity*I, -i) U (I, infinity*I) [-pi/2, pi/2] cacosh (-infinity, 1) [-pi*I, pi*I] casinh (-infinity*I, -i) U (I, infinity*I) [-pi/2*I, pi/2*I] catanh (-infinity, -1) U (1, infinity) [-pi/2*I, pi/2*I] SEE ALSO
ccos(3), ccosh(3), complex(3), cos(3), math(3), sin(3), tan(3) STANDARDS
These functions conform to ISO/IEC 9899:1999 (``ISO C99''). BSD
May 27, 2013 BSD
Man Page