]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/conj.3
acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, cabs.3, cacos.3, cacosh...
[thirdparty/man-pages.git] / man3 / conj.3
CommitLineData
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
9conj, 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 19Link with \fI\-lm\fP.
fea681da 20.SH DESCRIPTION
c13182ef
MK
21The
22.BR conj ()
e5056894
MK
23function returns the complex conjugate value of
24.IR z .
fea681da
MK
25That is the value obtained by changing the sign of the imaginary part.
26.LP
daac0b39
MK
27One has:
28.nf
29
30 cabs(z) = csqrt(z * conj(z))
31.fi
f0d7ce1d
MK
32.SH VERSIONS
33These functions first appeared in glibc in version 2.1.
5621da57 34.SH ATTRIBUTES
b8a7dd74
MK
35For an explanation of the terms used in this section, see
36.BR attributes (7).
37.TS
38allbox;
39lbw24 lb lb
40l l l.
41Interface Attribute Value
42T{
5621da57
PH
43.BR conj (),
44.BR conjf (),
5621da57 45.BR conjl ()
b8a7dd74
MK
46T} Thread safety MT-Safe
47.TE
47297adb 48.SH CONFORMING TO
9a74e018 49C99, 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)