scipy.special.erfc#

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

互補誤差函數,1 - erf(x)

參數:
xarray_like

實數或複數值引數

outndarray, optional

函數結果的選用輸出陣列

回傳值:
純量或 ndarray

互補誤差函數的值

另請參閱

erf, erfi, erfcx, dawsn, wofz

參考文獻

[1]

Steven G. Johnson, Faddeeva W 函數實作。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.erfc(x))
>>> plt.xlabel('$x$')
>>> plt.ylabel('$erfc(x)$')
>>> plt.show()
../../_images/scipy-special-erfc-1.png