]>
Commit | Line | Data |
---|---|---|
a1eaacb1 | 1 | '\" t |
fea681da | 2 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2297bf0e | 3 | .\" |
95fb8859 | 4 | .\" SPDX-License-Identifier: GPL-1.0-or-later |
fea681da | 5 | .\" |
4c1c5274 | 6 | .TH ccos 3 (date) "Linux man-pages (unreleased)" |
fea681da MK |
7 | .SH NAME |
8 | ccos, ccosf, ccosl \- complex cosine function | |
2af19291 AC |
9 | .SH LIBRARY |
10 | Math library | |
8fc3b2cf | 11 | .RI ( libm ", " \-lm ) |
fea681da | 12 | .SH SYNOPSIS |
c7db92b9 | 13 | .nf |
fea681da | 14 | .B #include <complex.h> |
68e4db0a | 15 | .PP |
1ae6b2c7 AC |
16 | .BI "double complex ccos(double complex " z ); |
17 | .BI "float complex ccosf(float complex " z ); | |
18 | .BI "long double complex ccosl(long double complex " z ); | |
c7db92b9 | 19 | .fi |
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 |
1ae6b2c7 AC |
26 | .in +4n |
27 | .EX | |
28 | ccos(z) = (exp(i * z) + exp(\-i * z)) / 2 | |
29 | .EE | |
30 | .in | |
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; | |
c466875e | 36 | lbx lb lb |
a597364f MS |
37 | l l l. |
38 | Interface Attribute Value | |
39 | T{ | |
9e54434e BR |
40 | .na |
41 | .nh | |
a597364f MS |
42 | .BR ccos (), |
43 | .BR ccosf (), | |
44 | .BR ccosl () | |
45 | T} Thread safety MT-Safe | |
46 | .TE | |
847e0d88 | 47 | .sp 1 |
3113c7f3 | 48 | .SH STANDARDS |
4131356c AC |
49 | C11, POSIX.1-2008. |
50 | .SH HISTORY | |
51 | glibc 2.1. | |
52 | C99, POSIX.1-2001. | |
47297adb | 53 | .SH SEE ALSO |
fea681da | 54 | .BR cabs (3), |
f54fb0fa | 55 | .BR cacos (3), |
fea681da MK |
56 | .BR csin (3), |
57 | .BR ctan (3), | |
a8bda636 | 58 | .BR complex (7) |