build::libcerf::src::libcerf-v2.4::man::dawson(3) libcerf manual build::libcerf::src::libcerf-v2.4::man::dawson(3)

cdawson, dawson - Dawson's integral

#include <cerf.h>

double _Complex cdawson ( double _Complex z );

double dawson ( double x );

The function cdawson returns Dawson's integral D(z) = exp(-z^2) integral from 0 to z exp(t^2) dt = sqrt(pi)/2 * exp(-z^2) * erfi(z).

For function dawson takes a real argument x, and returns the real result D(x).

The computation of D(z) is based on Faddeeva's function w_of_z(3); to compute D(x), the imaginary part im_w_of_x(3) is used.

Other complex error functions: w_of_z(3), voigt(3), cerf(3), erfcx(3), erfi(3).


Steven G. Johnson,,
Massachusetts Institute of Technology,
researched the numerics, and implemented the Faddeeva function.

Joachim Wuttke <>, 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.

2023-08-02 perl v5.36.1