1CONJ(3) Linux Programmer's Manual CONJ(3)
2
3
4
6 conj, conjf, conjl - calculate the complex conjugate
7
9 #include <complex.h>
10
11 double complex conj(double complex z);
12 float complex conjf(float complex z);
13 long double complex conjl(long double complex z);
14
15 Link with -lm.
16
18 These functions return the complex conjugate value of z. That is the
19 value obtained by changing the sign of the imaginary part.
20
21 One has:
22
23 cabs(z) = csqrt(z * conj(z))
24
26 These functions first appeared in glibc in version 2.1.
27
29 For an explanation of the terms used in this section, see at‐
30 tributes(7).
31
32 ┌────────────────────────────────────────────┬───────────────┬─────────┐
33 │Interface │ Attribute │ Value │
34 ├────────────────────────────────────────────┼───────────────┼─────────┤
35 │conj(), conjf(), conjl() │ Thread safety │ MT-Safe │
36 └────────────────────────────────────────────┴───────────────┴─────────┘
37
39 C99, POSIX.1-2001, POSIX.1-2008.
40
42 cabs(3), csqrt(3), complex(7)
43
45 This page is part of release 5.12 of the Linux man-pages project. A
46 description of the project, information about reporting bugs, and the
47 latest version of this page, can be found at
48 https://www.kernel.org/doc/man-pages/.
49
50
51
52 2021-03-22 CONJ(3)