]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/conj.3
_exit.2, bpf.2, cacheflush.2, capget.2, chdir.2, chmod.2, chroot.2, clock_getres...
[thirdparty/man-pages.git] / man3 / conj.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
5 .\" %%%LICENSE_END
6 .\"
7 .TH CONJ 3 2015-04-19 "" "Linux Programmer's Manual"
8 .SH NAME
9 conj, conjf, conjl \- calculate the complex conjugate
10 .SH SYNOPSIS
11 .B #include <complex.h>
12 .PP
13 .BI "double complex conj(double complex " z );
14 .br
15 .BI "float complex conjf(float complex " z );
16 .br
17 .BI "long double complex conjl(long double complex " z );
18 .PP
19 Link with \fI\-lm\fP.
20 .SH DESCRIPTION
21 These functions return the complex conjugate value of
22 .IR z .
23 That is the value obtained by changing the sign of the imaginary part.
24 .LP
25 One has:
26 .nf
27
28 cabs(z) = csqrt(z * conj(z))
29 .fi
30 .SH VERSIONS
31 These functions first appeared in glibc in version 2.1.
32 .SH ATTRIBUTES
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{
41 .BR conj (),
42 .BR conjf (),
43 .BR conjl ()
44 T} Thread safety MT-Safe
45 .TE
46 .SH CONFORMING TO
47 C99, POSIX.1-2001, POSIX.1-2008.
48 .SH SEE ALSO
49 .BR cabs (3),
50 .BR csqrt (3),
51 .BR complex (7)