Your company here — click to reach over 10,000 unique daily visitors

cerf - Man Page

complex error functions


#include <cerf.h>

double _Complex cerf ( double _Complex z );

double _Complex cerfc ( double _Complex z );


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


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.


Copyright (c) 2012 Massachusetts Institute of Technology

Copyright (c) 2013 Forschungszentrum Juelich GmbH

Software: MIT License.

This documentation: Creative Commons Attribution Share Alike.

Referenced By

cdawson(3), cerfcx(3), cerfi(3), complex(7), erf(3), erfc(3), voigt(3), w_of_z(3).

The man page cerfc(3) is an alias of cerf(3).

2024-01-25 perl v5.38.2 libcerf manual