The error or Phi function is a variant of the cumulative normal (or Gaussian) distribution.
1 2 3 4 5 6 7 8
vector of real numbers.
real or complex number; must be a scalar.
erfinv are the error and inverse error functions.
erfcinv are the complementary error function and
erfcx is the scaled complementary error function.
erfz is the complex,
erfi the imaginary error function.
Real or complex number(s), the value(s) of the function.
For the complex error function we used Fortran code from the book S. Zhang & J. Jin “Computation of Special Functions” (Wiley, 1996).
First version by Hans W Borchers;
vectorized version of
erfz by Michael Lachmann.
1 2 3 4 5 6 7 8 9 10 11 12
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.