man-pages/man3/conj.3

37 lines
815 B
Groff
Raw Normal View History

2004-11-03 13:51:07 +00:00
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.TH CONJ 3 2008-08-11 "" "Linux Programmer's Manual"
2004-11-03 13:51:07 +00:00
.SH NAME
conj, conjf, conjl \- calculate the complex conjugate
.SH SYNOPSIS
.B #include <complex.h>
.sp
.BI "double complex conj(double complex " z );
.br
.BI "float complex conjf(float complex " z );
.br
.BI "long double complex conjl(long double complex " z );
2004-11-03 13:51:07 +00:00
.sp
2007-07-21 05:25:03 +00:00
Link with \fI\-lm\fP.
2004-11-03 13:51:07 +00:00
.SH DESCRIPTION
The
.BR conj ()
2007-07-09 20:25:04 +00:00
function returns the complex conjugate value of
.IR z .
2004-11-03 13:51:07 +00:00
That is the value obtained by changing the sign of the imaginary part.
.LP
2007-12-24 11:27:43 +00:00
One has:
.nf
cabs(z) = csqrt(z * conj(z))
.fi
.SH VERSIONS
These functions first appeared in glibc in version 2.1.
2004-11-03 13:51:07 +00:00
.SH "CONFORMING TO"
C99.
2004-11-03 13:51:07 +00:00
.SH "SEE ALSO"
.BR cabs (3),
.BR csqrt (3),
2006-04-21 01:24:06 +00:00
.BR complex (7)