man-pages/man3/cerf.3

36 lines
1.0 KiB
Groff

.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.TH cerf 3 2002-07-28 "" "complex math routines"
.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 \-lm.
.SH DESCRIPTION
The function 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 cerfc() is defined as cerfc(z) = 1\-cerf(z).
.\" must check 1/sqrt(2*pi) ?
.SH "CONFORMING TO"
The function name is reserved for future use in C99.
.SH AVAILABILITY
Not yet in glibc 2.3.2.
.\" But reserved in NAMESPACE.
.SH "SEE ALSO"
.BR erf (3),
.BR complex (5)