OSDN Git Service

dd376d976eabaa9c85e2c1b560e56b90d6291c08
[linuxjm/LDP_man-pages.git] / original / man3 / conj.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\"
4 .TH CONJ 3 2008-08-11 "" "Linux Programmer's Manual"
5 .SH NAME
6 conj, conjf, conjl \- calculate the complex conjugate
7 .SH SYNOPSIS
8 .B #include <complex.h>
9 .sp
10 .BI "double complex conj(double complex " z );
11 .br
12 .BI "float complex conjf(float complex " z );
13 .br
14 .BI "long double complex conjl(long double complex " z );
15 .sp
16 Link with \fI\-lm\fP.
17 .SH DESCRIPTION
18 The
19 .BR conj ()
20 function returns the complex conjugate value of
21 .IR z .
22 That is the value obtained by changing the sign of the imaginary part.
23 .LP
24 One has:
25 .nf
26
27     cabs(z) = csqrt(z * conj(z))
28 .fi
29 .SH VERSIONS
30 These functions first appeared in glibc in version 2.1.
31 .SH "CONFORMING TO"
32 C99.
33 .SH "SEE ALSO"
34 .BR cabs (3),
35 .BR sqrt (3),
36 .BR complex (7)