man-pages/man3/cerf.3

42 lines
1.1 KiB
Groff

.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
.\" Distributed under GPL
.\" %%%LICENSE_END
.\"
.TH CERF 3 2010-09-12 "" "Linux Programmer's Manual"
.SH NAME
cerf, cerff, cerfl, cerfc, cerfcf, cerfcl \- complex error function
.SH SYNOPSIS
.B #include <complex.h>
.sp
.BI "double complex cerf(double complex " z );
.br
.BI "float complex cerff(float complex " z );
.br
.BI "long double complex cerfl(long double complex " z );
.sp
.BI "double complex cerfc(double complex " z );
.br
.BI "float complex cerfcf(float complex " z );
.br
.BI "long double complex cerfcl(long double complex " z );
.sp
Link with \fI\-lm\fP.
.SH DESCRIPTION
The (unimplemented) function
.BR cerf ()
is the complex version of the error function.
erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(\-t*t) dt.
The function
.BR cerfc ()
is defined as cerfc(z) = 1\-cerf(z).
.\" must check 1/sqrt(2*pi) ?
.SH CONFORMING TO
The function names are reserved for future use in C99.
.SH AVAILABILITY
Not yet in glibc, as at version 2.12.
.\" But reserved in NAMESPACE.
.SH SEE ALSO
.BR erf (3),
.BR complex (7)