OSDN Git Service

(split) LDP: Change Makefile to stamp-based compilation
[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 2008-08-11 "" "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 CONFORMING TO
35 C99.
36 .SH SEE ALSO
37 .BR cabs (3),
38 .BR csqrt (3),
39 .BR complex (7)