=pod

=begin html

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

=end html

=head1 NAME

cerfi, erfi - imaginary error function

=head1 SYNOPSIS

B<#include <cerf.h>>

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

B<double          erfi  ( double x );>

=head1 DESCRIPTION

The function B<cerfi> returns an error function rotated in the complex plane,
erfi(z) = -i erf(iz).

The function B<erfi> takes a real argument and returns a real result.

=head1 RESOURCES

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

=head1 REFERENCES

The implementation of B<cerfi> and B<erfi> is trivially based on the functions
B<cerf> and B<im_w_of_x>.

=head1 BUG REPORTS

Please report bugs to the authors.

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

=head1 SEE ALSO

Related complex error functions in liberfc:

B<w_of_z(3)>, B<dawson(3)>, B<voigt(3)>, B<cerf(3)>, B<erfcx(3)>.

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

B<erf(3)>

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