scipy.special.erfi¶
-
scipy.special.
erfi
(z) = <ufunc 'erfi'>¶ Imaginary error function,
-i erf(i z)
.Notes
New in version 0.12.0.
References
[R413] 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.erfi(x)) >>> plt.xlabel('$x$') >>> plt.ylabel('$erfi(x)$') >>> plt.show()