home::buildo...::man::dawson(3)

πŸ’– NAME πŸ’–

Okay bestie, welcome to the libcerf manual page home::buildo...::man::dawson(3) πŸ’… The stars here are cdawson and dawson, and they serve up Dawson's integral. That's the whole vibe.


✨ SYNOPSIS ✨

The receipts, exactly as they are:

#include <cerf.h>

double _Complex cdawson ( double _Complex z );

double          dawson  ( double x );

🌸 DESCRIPTION 🌸

So the cdawson function returns Dawson's integral, and it's giving this exact formula:

D(z) = exp(-z^2) integral from 0 to z exp(t^2) dt = sqrt(pi)/2  *  exp(-z^2) * erfi(z)

For the dawson function, it takes a real argument x and returns the real result D(x). Slay, real numbers only for that one. πŸ“


πŸ¦‹ SEE ALSO πŸ¦‹

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. iykyk ✨

Other complex error functions to peek at:

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. fr fr, they wanna know 🫢


πŸ’… COPYING πŸ’…

  • Copyright (c) 2012 Massachusetts Institute of Technology
  • Copyright (c) 2013 Forschungszentrum Juelich GmbH

Software: MIT License.

This documentation: Creative Commons Attribution Share Alike.


Cute little sign-off: this page is brought to you by perl v5.42.2, dated 2026-02-15, repping home::buildo...::man::dawson(3) πŸ’–βœ¨πŸ«Ά
πŸ“¦ where this page comes from