scipy.special.erfc#
- scipy.special.erfc(x, out=None) = <ufunc 'erfc'>#
Complementary error function,
1 - erf(x)
.- Parameters:
- xarray_like
Real or complex valued argument
- outndarray, optional
Optional output array for the function results
- Returns:
- scalar or ndarray
Values of the complementary error function
References
[1]Steven G. Johnson, Faddeeva W function implementation. http://ab-initio.mit.edu/Faddeeva
Examples
>>> 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()