Name
ccos, ccosf, ccosl - complex cosine functionLibrary
Math library ( libm ", " -lm )Synopsis
#include <complex.h> double complex ccos(double complex z );
float complex ccosf(float complex z );
long double complex ccosl(long double complex z );
Description
These functions calculate the complex cosine ofz
. The complex cosine function is defined as:
ccos(z) = (exp(i * z) + exp(-i * z)) / 2
Attributes
For an explanation of the terms used in this section, see attributes(7).Interface | Attribute | Value |
T} | Thread safety | MT-Safe |