SciPy

scipy.special.erfcx

scipy.special.erfcx(x) = <ufunc 'erfcx'>

Scaled complementary error function, exp(x**2) * erfc(x).

See also

erf, erfc, erfi, dawsn, wofz

Notes

New in version 0.12.0.

References

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

Examples

>>> 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()

(Source code)

../_images/scipy-special-erfcx-1.png

Previous topic

scipy.special.erfc

Next topic

scipy.special.erfi