# NAME

cerfi, erfi - imaginary error function

# SYNOPSIS

#include <cerf.h>

double _Complex cerfi ( double _Complex z );

double erfi ( double x );

# DESCRIPTION

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

The function erfi takes a real argument and returns a real result.

# RESOURCES

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

# REFERENCES

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

# 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 <j.wuttke@fz-juelich.de>, Forschungszentrum Juelich, reorganized the code into a library, and wrote this man page.

# SEE ALSO

Related complex error functions in liberfc:

w_of_z(3), dawson(3), voigt(3), cerf(3), erfcx(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: MIT License.

This documentation: Creative Commons Attribution Share Alike.