Previous topic

scipy.special.erf

Next topic

scipy.special.erfcx

scipy.special.erfc

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

Complementary error function, 1 - erf(x).

See also

erf, erfi, erfcx, dawsn, wofz

References

[R353]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.erfc(x))
>>> plt.xlabel('$x$')
>>> plt.ylabel('$erfc(x)$')
>>> plt.show()

(Source code)

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