complex error function

You're viewing an older version of this page (#3342). View the current version.

View versions (3)

NAME

cerf, cerff, cerfl, cerfc, cerfcf, cerfcl

INTERFACE

#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 );

DESCRIPTION

The function cerf () is the complex version of the error function,

erf(z) = \frac{2}{\sqrt{\pi}} \int_0^z exp(-t^2)\ dt
(1)

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 of version 2.4. Link with -lm

SEE ALSO

reference:erf (3), Complex (7)