scipy.special.dawsn#

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

Dawson 積分。

計算

exp(-x**2) * integral(exp(t**2), t=0..x).
參數:
xarray_like

函數參數。

outndarray, optional

函數值的選用輸出陣列

返回值:
y純量或 ndarray

積分值。

另請參閱

wofz, erf, erfc, erfcx, erfi

參考文獻

[1]

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

範例

>>> import numpy as np
>>> 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