]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/conj.3
system.3: ffix
[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.\"
c73595c2 7.TH CONJ 3 2015-04-19 "" "Linux Programmer's Manual"
fea681da
MK
8.SH NAME
9conj, 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 19Link with \fI\-lm\fP.
fea681da 20.SH DESCRIPTION
5600f73a 21These functions return the complex conjugate value of
e5056894 22.IR z .
fea681da 23That is the value obtained by changing the sign of the imaginary part.
dd3568a1 24.PP
daac0b39 25One has:
207050fa 26.PP
daac0b39 27.nf
daac0b39
MK
28 cabs(z) = csqrt(z * conj(z))
29.fi
f0d7ce1d
MK
30.SH VERSIONS
31These functions first appeared in glibc in version 2.1.
5621da57 32.SH ATTRIBUTES
b8a7dd74
MK
33For an explanation of the terms used in this section, see
34.BR attributes (7).
35.TS
36allbox;
37lbw24 lb lb
38l l l.
39Interface Attribute Value
40T{
5621da57
PH
41.BR conj (),
42.BR conjf (),
5621da57 43.BR conjl ()
b8a7dd74
MK
44T} Thread safety MT-Safe
45.TE
47297adb 46.SH CONFORMING TO
9a74e018 47C99, 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)