man-pages/man3/catan.3

32 lines
751 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 CATAN 3 2002-07-28 "" "Linux Programmer's Manual"
2004-11-03 13:51:07 +00:00
.SH NAME
catan, catanf, catanl \- complex arc tangents
2004-11-03 13:51:07 +00:00
.SH SYNOPSIS
.B #include <complex.h>
.sp
.BI "double complex catan(double complex " z );
.br
.BI "float complex catanf(float complex " z );
.br
.BI "long double complex catanl(long double complex " z );
2004-11-03 13:51:07 +00:00
.sp
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 ()
function calculates the complex atan().
2004-11-03 13:51:07 +00:00
If y = catan(z), then z = ctan(y).
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
One has
2007-05-01 08:15:41 +00:00
catan(z) = 1 / 2i clog((1 + iz) / (1 \- iz)).
2004-11-03 13:51:07 +00:00
.SH "CONFORMING TO"
C99
.SH "SEE ALSO"
.BR ccos (3),
.BR clog (3),
2006-04-21 01:24:06 +00:00
.BR complex (7)