NAME

cerf, cerfc - complex error functions

SYNOPSIS

#include <cerf.h>

double _Complex cerf ( double _Complex z );

double _Complex cerfc ( double _Complex z );

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 complementary complex error function cerfc is defined as erfc(z) = 1-cerf(z).

SEE ALSO

The computations are based on Faddeeva's function w_of_z(3).

Other complex error functions in libcerf: w_of_z(3), dawson(3), voigt(3), erfcx(3), erfi(3).

The real error function comes with recent versions of glibc, as requested by the C99 standard: erf(3)

Homepage: http://apps.jcns.fz-juelich.de/libcerf

AUTHORS

Steven G. Johnson, http://math.mit.edu/~stevenj, Massachusetts Institute of Technology, researched the numerics, and implemented the Faddeeva function.

Joachim Wuttke <j.wuttke@fz-juelich.de>, Forschungszentrum Juelich, reorganized the code into a library, and wrote this man page.

Please report bugs to the authors.

COPYING

Copyright (c) 2012 Massachusetts Institute of Technology

Copyright (c) 2013 Forschungszentrum Juelich GmbH

Software: MIT License.

This documentation: Creative Commons Attribution Share Alike.