]>
Commit | Line | Data |
---|---|---|
fea681da | 1 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2297bf0e | 2 | .\" |
38f20bb9 | 3 | .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE) |
fea681da | 4 | .\" Distributed under GPL |
38f20bb9 | 5 | .\" %%%LICENSE_END |
fea681da | 6 | .\" |
4b8c67d9 | 7 | .TH CCOS 3 2017-09-15 "" "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | ccos, ccosf, ccosl \- complex cosine function | |
10 | .SH SYNOPSIS | |
11 | .B #include <complex.h> | |
68e4db0a | 12 | .PP |
fea681da | 13 | .BI "double complex ccos(double complex " z ");" |
d39541ec | 14 | .br |
fea681da | 15 | .BI "float complex ccosf(float complex " z ");" |
d39541ec | 16 | .br |
fea681da | 17 | .BI "long double complex ccosl(long double complex " z ");" |
68e4db0a | 18 | .PP |
20c58d70 | 19 | Link with \fI\-lm\fP. |
fea681da | 20 | .SH DESCRIPTION |
f0a0305b | 21 | These functions calculate the complex cosine of |
a6899b95 | 22 | .IR z . |
847e0d88 | 23 | .PP |
51065a83 | 24 | The complex cosine function is defined as: |
207050fa | 25 | .PP |
51065a83 | 26 | .nf |
51065a83 | 27 | ccos(z) = (exp(i * z) + exp(\-i * z)) / 2 |
494fc522 | 28 | .fi |
f0d7ce1d MK |
29 | .SH VERSIONS |
30 | These functions first appeared in glibc in version 2.1. | |
a597364f MS |
31 | .SH ATTRIBUTES |
32 | For an explanation of the terms used in this section, see | |
33 | .BR attributes (7). | |
34 | .TS | |
35 | allbox; | |
36 | lbw24 lb lb | |
37 | l l l. | |
38 | Interface Attribute Value | |
39 | T{ | |
40 | .BR ccos (), | |
41 | .BR ccosf (), | |
42 | .BR ccosl () | |
43 | T} Thread safety MT-Safe | |
44 | .TE | |
847e0d88 | 45 | .sp 1 |
47297adb | 46 | .SH CONFORMING TO |
9a74e018 | 47 | C99, POSIX.1-2001, POSIX.1-2008. |
47297adb | 48 | .SH SEE ALSO |
fea681da | 49 | .BR cabs (3), |
f54fb0fa | 50 | .BR cacos (3), |
fea681da MK |
51 | .BR csin (3), |
52 | .BR ctan (3), | |
a8bda636 | 53 | .BR complex (7) |