]>
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 | .\" |
c73595c2 | 7 | .TH CONJ 3 2015-04-19 "" "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> | |
68e4db0a | 12 | .PP |
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 ); |
68e4db0a | 18 | .PP |
20c58d70 | 19 | Link with \fI\-lm\fP. |
fea681da | 20 | .SH DESCRIPTION |
5600f73a | 21 | These functions return the complex conjugate value of |
e5056894 | 22 | .IR z . |
fea681da | 23 | That is the value obtained by changing the sign of the imaginary part. |
dd3568a1 | 24 | .PP |
daac0b39 | 25 | One has: |
207050fa | 26 | .PP |
daac0b39 | 27 | .nf |
daac0b39 MK |
28 | cabs(z) = csqrt(z * conj(z)) |
29 | .fi | |
f0d7ce1d MK |
30 | .SH VERSIONS |
31 | These functions first appeared in glibc in version 2.1. | |
5621da57 | 32 | .SH ATTRIBUTES |
b8a7dd74 MK |
33 | For an explanation of the terms used in this section, see |
34 | .BR attributes (7). | |
35 | .TS | |
36 | allbox; | |
37 | lbw24 lb lb | |
38 | l l l. | |
39 | Interface Attribute Value | |
40 | T{ | |
5621da57 PH |
41 | .BR conj (), |
42 | .BR conjf (), | |
5621da57 | 43 | .BR conjl () |
b8a7dd74 MK |
44 | T} Thread safety MT-Safe |
45 | .TE | |
47297adb | 46 | .SH CONFORMING TO |
9a74e018 | 47 | C99, POSIX.1-2001, POSIX.1-2008. |
47297adb | 48 | .SH SEE ALSO |
fea681da | 49 | .BR cabs (3), |
677e98a1 | 50 | .BR csqrt (3), |
a8bda636 | 51 | .BR complex (7) |