Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
erfi
The imaginary error function.
Syntax
y = erfi(z)
Arguments
- z
vector or matrix
- y
vector or matrix (of same size than x)
Description
erfi
computes the imaginary error function of x, defined by
-i.erf(i.x).
Examples
erfi(1.234) x = [-0.1, 0.1, 1, 1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i]; erfi(x) // equivalent to -%i * erf(%i*x)
Algorithms
This function is based on the Faddeeva package library.
See also
History
Version | Description |
5.5.0 | Function erfi supports complex arguments |
Report an issue | ||
<< erfcx | Special Functions | erfinv >> |