=pod

=begin html

<link rel="stylesheet" href="podstyle.css" type="text/css" />

=end html

=head1 NAME

cerf, cerfc - complex error functions

=head1 SYNOPSIS

B<#include <cerf.h>>

B<double _Complex cerf ( double _Complex z );>

B<double _Complex cerfc ( double _Complex z );>


=head1 DESCRIPTION

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

=head1 SEE ALSO

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

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

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

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

=head1 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.

=head1 COPYING

Copyright (c) 2012 Massachusetts Institute of Technology

Copyright (c) 2013 Forschungszentrum Juelich GmbH

Software: MIT License.

This documentation: Creative Commons Attribution Share Alike.
