home::buildo....3::man::cerf(3)
hey bestie π welcome to the page for home::buildo....3::man::cerf(3) from the libcerf manual β we're about to get into complex error functions and honestly? iconic math energy.
β¨ NAME β¨
cerf, cerfc β the complex error functions. yes, both of them, and yes they're besties π«Ά
πΈ SYNOPSIS πΈ
#include <cerf.h>
double _Complex cerf ( double _Complex z );
double _Complex cerfc ( double _Complex z );
π DESCRIPTION π
okay so cerf is literally the complex version of the error function, and the formula is:
erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(-t*t) dt
then there's the complementary complex error function cerfc, defined as:
erfc(z) = 1-cerf(z)
that's the whole vibe: one function, its complement, no cap β¨
π¦ SEE ALSO π¦
the computations are based on Faddeeva's function w_of_z(3) β main character reference fr.
other complex error functions in libcerf:
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
π 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 π«Ά
π COPYING π
- Copyright (c) 2012 Massachusetts Institute of Technology
- Copyright (c) 2013 Forschungszentrum Juelich GmbH
Software: MIT License.
This documentation: Creative Commons Attribution Share Alike.
xoxo π this page says perl v5.42.2 and is dated 2026-02-15 β footer info delivered with love. periodt.
π¦ where this page comes from
- alpine 3.24: libcerf-doc 3.3-r1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms