2004-11-03 13:51:07 +00:00
|
|
|
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
|
|
|
|
.\" Distributed under GPL
|
|
|
|
.\"
|
2008-08-11 17:13:47 +00:00
|
|
|
.TH CATAN 3 2008-08-11 "" "Linux Programmer's Manual"
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH NAME
|
2007-04-12 22:42:49 +00:00
|
|
|
catan, catanf, catanl \- complex arc tangents
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B #include <complex.h>
|
|
|
|
.sp
|
2007-04-12 22:42:49 +00:00
|
|
|
.BI "double complex catan(double complex " z );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2007-04-12 22:42:49 +00:00
|
|
|
.BI "float complex catanf(float complex " z );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2007-04-12 22:42:49 +00:00
|
|
|
.BI "long double complex catanl(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
|
2005-10-19 14:48:35 +00:00
|
|
|
The
|
|
|
|
.BR catan ()
|
2007-12-24 11:40:38 +00:00
|
|
|
function calculates the complex arc tangent of
|
|
|
|
.IR z .
|
|
|
|
If \fIy\ =\ catan(z)\fP, then \fIz\ =\ ctan(y)\fP.
|
2005-07-07 08:27:03 +00:00
|
|
|
The real part of y is chosen in the interval [\-pi/2,pi/2].
|
2004-11-03 13:51:07 +00:00
|
|
|
.LP
|
2007-12-24 11:40:38 +00:00
|
|
|
One has:
|
|
|
|
.nf
|
|
|
|
|
|
|
|
catan(z) = 1 / 2i clog((1 + iz) / (1 \- iz))
|
|
|
|
.fi
|
2008-08-11 17:13:47 +00:00
|
|
|
.SH VERSIONS
|
|
|
|
These functions first appeared in glibc in version 2.1.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH "CONFORMING TO"
|
2008-07-15 13:39:17 +00:00
|
|
|
C99.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR ccos (3),
|
|
|
|
.BR clog (3),
|
2006-04-21 01:24:06 +00:00
|
|
|
.BR complex (7)
|