scipy.special.erfcx#

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

比例互補誤差函數,exp(x**2) * erfc(x)

參數:
xarray_like

實數或複數值引數

outndarray,選用

函數結果的選用輸出陣列

回傳值:
純量或 ndarray

比例互補誤差函數的值

另請參閱

erf, erfc, erfi, dawsn, wofz

註解

在版本 0.12.0 中新增。

參考文獻

[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(-3, 3)
>>> plt.plot(x, special.erfcx(x))
>>> plt.xlabel('$x$')
>>> plt.ylabel('$erfcx(x)$')
>>> plt.show()
../../_images/scipy-special-erfcx-1.png