Warning
This page was created from a pull request.
jax.scipy.special.erfc¶
-
jax.scipy.special.
erfc
(x)[source]¶ Complementary error function,
1 - erf(x)
.LAX-backend implementation of
erfc()
. Original docstring below.erfc(x, /, out=None, *, where=True, casting=’same_kind’, order=’K’, dtype=None, subok=True[, signature, extobj])
erfc(x, out=None)
- Parameters
x (array_like) – Real or complex valued argument
out (ndarray, optional) – Optional output array for the function results
- Returns
Values of the complementary error function
- Return type
scalar or ndarray
See also
erf()
,erfi()
,erfcx()
,dawsn()
,wofz()
References
- 1
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()