2004-11-03 13:51:07 +00:00
|
|
|
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
|
|
|
|
.\" Distributed under GPL
|
|
|
|
.\"
|
2007-05-18 08:43:42 +00:00
|
|
|
.TH CERF 3 2002-07-28 "" "Linux Programmer's Manual"
|
2004-11-03 13:51:07 +00:00
|
|
|
.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 );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2004-11-03 13:51:07 +00:00
|
|
|
.BI "float complex cerff(float complex " z );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2004-11-03 13:51:07 +00:00
|
|
|
.BI "long double complex cerfl(long double complex " z );
|
|
|
|
.sp
|
|
|
|
.BI "double complex cerfc(double complex " z );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2004-11-03 13:51:07 +00:00
|
|
|
.BI "float complex cerfcf(float complex " z );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2004-11-03 13:51:07 +00:00
|
|
|
.BI "long double complex cerfcl(long double complex " z );
|
|
|
|
.sp
|
2007-05-21 09:56:00 +00:00
|
|
|
Link with \fI-lm\fP.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH DESCRIPTION
|
2007-04-12 22:42:49 +00:00
|
|
|
The function
|
|
|
|
.BR cerf ()
|
2005-10-19 14:48:35 +00:00
|
|
|
is the complex version of the error function.
|
2005-07-06 12:57:38 +00:00
|
|
|
erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(\-t*t) dt.
|
2005-10-19 14:48:35 +00:00
|
|
|
The function
|
2007-04-12 22:42:49 +00:00
|
|
|
.BR cerfc ()
|
2005-10-19 14:48:35 +00:00
|
|
|
is defined as cerfc(z) = 1\-cerf(z).
|
2004-11-03 13:51:07 +00:00
|
|
|
.\" must check 1/sqrt(2*pi) ?
|
|
|
|
.SH "CONFORMING TO"
|
2006-08-03 13:57:30 +00:00
|
|
|
The function names are reserved for future use in C99.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH AVAILABILITY
|
2006-08-03 13:57:30 +00:00
|
|
|
Not yet in glibc, as at version 2.4.
|
2004-11-03 13:51:07 +00:00
|
|
|
.\" But reserved in NAMESPACE.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR erf (3),
|
2006-04-21 01:24:06 +00:00
|
|
|
.BR complex (7)
|