Debian Codegraph @

upstream/debian-trixie/man3/conj.3

raw
1 '\" t
2 .\" Copyright 2002 Walter Harms ([email protected])
3 .\"
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
5 .\"
6 .TH conj 3 2024-05-02 "Linux man-pages 6.9.1"
7 .SH NAME
8 conj, conjf, conjl \- calculate the complex conjugate
9 .SH LIBRARY
10 Math library
11 .RI ( libm ", " \-lm )
12 .SH SYNOPSIS
13 .nf
14 .B #include <complex.h>
15 .P
16 .BI "double complex conj(double complex " z );
17 .BI "float complex conjf(float complex " z );
18 .BI "long double complex conjl(long double complex " z );
19 .fi
20 .SH DESCRIPTION
21 These functions return the complex conjugate value of
22 .IR z .
23 That is the value obtained by changing the sign of the imaginary part.
24 .P
25 One has:
26 .P
27 .in +4n
28 .EX
29 cabs(z) = csqrt(z * conj(z))
30 .EE
31 .in
32 .SH ATTRIBUTES
33 For an explanation of the terms used in this section, see
34 .BR attributes (7).
35 .TS
36 allbox;
37 lbx lb lb
38 l l l.
39 Interface Attribute Value
40 T{
41 .na
42 .nh
43 .BR conj (),
44 .BR conjf (),
45 .BR conjl ()
46 T} Thread safety MT-Safe
47 .TE
48 .SH STANDARDS
49 C11, POSIX.1-2008.
50 .SH HISTORY
51 glibc 2.1.
52 C99, POSIX.1-2001.
53 .SH SEE ALSO
54 .BR cabs (3),
55 .BR csqrt (3),
56 .BR complex (7)