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

RESOURCES

Project web site: http://apps.jcns.fz-juelich.de/libcerf

REFERENCES

The computations are based on Faddeeva's function w_of_z.

BUG REPORTS

Please report bugs to the authors.

AUTHORS

Steven G. Johnson [http://math.mit.edu/~stevenj],

  Massachusetts Institute of Technology,
  researched the numerics, and implemented the Faddeeva function.

Joachim Wuttke <[email protected]>, Forschungszentrum Juelich,

  reorganized the code into a library, and wrote this man page.

RELATED TO cerf…

Related complex error functions in liberfc:

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)

COPYING

Copyright (c) 2012 Massachusetts Institute of Technology

Copyright (c) 2013 Forschungszentrum Juelich GmbH

Software: \s-1MIT\s0 License.

This documentation: Creative Commons Attribution Share Alike.