]>
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 | .\" |
fe0fefbf | 7 | .TH CONJ 3 2015-03-02 "" "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | conj, conjf, conjl \- calculate the complex conjugate | |
10 | .SH SYNOPSIS | |
11 | .B #include <complex.h> | |
12 | .sp | |
c13182ef | 13 | .BI "double complex conj(double complex " z ); |
d39541ec | 14 | .br |
c13182ef | 15 | .BI "float complex conjf(float complex " z ); |
d39541ec | 16 | .br |
c13182ef | 17 | .BI "long double complex conjl(long double complex " z ); |
fea681da | 18 | .sp |
20c58d70 | 19 | Link with \fI\-lm\fP. |
fea681da | 20 | .SH DESCRIPTION |
c13182ef MK |
21 | The |
22 | .BR conj () | |
e5056894 MK |
23 | function returns the complex conjugate value of |
24 | .IR z . | |
fea681da MK |
25 | That is the value obtained by changing the sign of the imaginary part. |
26 | .LP | |
daac0b39 MK |
27 | One has: |
28 | .nf | |
29 | ||
30 | cabs(z) = csqrt(z * conj(z)) | |
31 | .fi | |
f0d7ce1d MK |
32 | .SH VERSIONS |
33 | These functions first appeared in glibc in version 2.1. | |
5621da57 | 34 | .SH ATTRIBUTES |
b8a7dd74 MK |
35 | For an explanation of the terms used in this section, see |
36 | .BR attributes (7). | |
37 | .TS | |
38 | allbox; | |
39 | lbw24 lb lb | |
40 | l l l. | |
41 | Interface Attribute Value | |
42 | T{ | |
5621da57 PH |
43 | .BR conj (), |
44 | .BR conjf (), | |
5621da57 | 45 | .BR conjl () |
b8a7dd74 MK |
46 | T} Thread safety MT-Safe |
47 | .TE | |
47297adb | 48 | .SH CONFORMING TO |
9a74e018 | 49 | C99, POSIX.1-2001, POSIX.1-2008. |
47297adb | 50 | .SH SEE ALSO |
fea681da | 51 | .BR cabs (3), |
677e98a1 | 52 | .BR csqrt (3), |
a8bda636 | 53 | .BR complex (7) |