Computes the error function of a (possibly) complex
valued argument. This function is 1-erfc(z).
Usage
erf(z)
Arguments
z
Argument of error function
Value
The error function of z
Details
Computes the error function of a (possibly) complex
valued argument by computing the complementary error function
and subtracting the answer from 1.
References
Poppe, G.P.M. and Wijers, C.M.J. (1990) More efficient computation of the
complex error function. ACM Transactions on Mathematical
Software, 16, 38--46.