scipy.special.erfcx#

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

标度互补误差函数,exp(x**2) * erfc(x)

参数:
xarray_like

实值或复数值参数

outndarray, optional

函数结果的可选输出数组

返回:
scalar 或 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