scipy.special.dawsn#

scipy.special.dawsn(x, out=None) = <ufunc 'dawsn'>#

Dawson’s integral.

Computes:

exp(-x**2) * integral(exp(t**2), t=0..x).
Parameters
xarray_like

Function parameter.

outndarray, optional

Optional output array for the function values

Returns
yscalar or ndarray

Value of the integral.

See also

wofz, erf, erfc, erfcx, erfi

References

1

Steven G. Johnson, Faddeeva W function implementation. http://ab-initio.mit.edu/Faddeeva

Examples

>>> from scipy import special
>>> import matplotlib.pyplot as plt
>>> x = np.linspace(-15, 15, num=1000)
>>> plt.plot(x, special.dawsn(x))
>>> plt.xlabel('$x$')
>>> plt.ylabel('$dawsn(x)$')
>>> plt.show()
../../_images/scipy-special-dawsn-1.png