OSDN Git Service

a308d8e7904a2e6c90ee4f1c39d2c7a99777b533
[linuxjm/LDP_man-pages.git] / original / 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 2013-06-21 "" "Linux Programmer's Manual"
8 .SH NAME
9 conj, conjf, conjl \- calculate the complex conjugate
10 .SH SYNOPSIS
11 .B #include <complex.h>
12 .sp
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 .sp
19 Link with \fI\-lm\fP.
20 .SH DESCRIPTION
21 The
22 .BR conj ()
23 function returns the complex conjugate value of
24 .IR z .
25 That is the value obtained by changing the sign of the imaginary part.
26 .LP
27 One has:
28 .nf
29
30     cabs(z) = csqrt(z * conj(z))
31 .fi
32 .SH VERSIONS
33 These functions first appeared in glibc in version 2.1.
34 .SH ATTRIBUTES
35 .SS Multithreading (see pthreads(7))
36 The
37 .BR conj (),
38 .BR conjf (),
39 and
40 .BR conjl ()
41 functions are thread-safe.
42 .SH CONFORMING TO
43 C99.
44 .SH SEE ALSO
45 .BR cabs (3),
46 .BR csqrt (3),
47 .BR complex (7)
48 .SH COLOPHON
49 This page is part of release 3.64 of the Linux
50 .I man-pages
51 project.
52 A description of the project,
53 and information about reporting bugs,
54 can be found at
55 \%http://www.kernel.org/doc/man\-pages/.