man-pages/man3/ccos.3

32 lines
726 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 CCOS 3 2008-08-11 "" "Linux Programmer's Manual"
2004-11-03 13:51:07 +00:00
.SH NAME
ccos, ccosf, ccosl \- complex cosine function
.SH SYNOPSIS
.B #include <complex.h>
.sp
.BI "double complex ccos(double complex " z ");"
.br
2004-11-03 13:51:07 +00:00
.BI "float complex ccosf(float complex " z ");"
.br
2004-11-03 13:51:07 +00:00
.BI "long double complex ccosl(long double complex " z ");"
.sp
2007-07-21 05:25:03 +00:00
Link with \fI\-lm\fP.
2004-11-03 13:51:07 +00:00
.SH DESCRIPTION
2007-12-24 14:22:10 +00:00
The complex cosine function is defined as:
.nf
ccos(z) = (exp(i * z) + exp(\-i * z)) / 2
2007-12-28 06:48:39 +00:00
.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 csin (3),
.BR ctan (3),
2006-04-21 01:24:06 +00:00
.BR complex (7)