Name

cerf, cerff, cerfl, cerfc, cerfcf, cerfcl — complex error function

Synopsis

#include <complex.h>
double complex cerf( double complex   z);
float complex cerff( float complex   z);
long double complex cerfl( long double complex   z);
double complex cerfc( double complex   z);
float complex cerfcf( float complex   z);
long double complex cerfcl( long double complex   z);
[Note] Note

Link with −lm.

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).

CONFORMING TO

The function names are reserved for future use in C99.

AVAILABILITY

Not yet in glibc, as at version 2.4.

SEE ALSO

erf(3), complex(7)


  Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
Distributed under GPL