scipy.special.erfcx#
- scipy.special.erfcx(x, out=None) = <ufunc 'erfcx'>#
缩放互补误差函数,
exp(x**2) * erfc(x)。- 参数:
- xarray_like
实数或复数值参数
- 出ndarray,可选
函数结果的可选输出数组
- 返回:
- 标量或ndarray
缩放互补误差函数的值
注释
Added in version 0.12.0.
参考文献
[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.erfcx(x)) >>> plt.xlabel('$x$') >>> plt.ylabel('$erfcx(x)$') >>> plt.show()