Computes the complementary error function.
ERFC(val)
val |
- |
A scalar, series, or table. |
A scalar, series, or table.
erfc(1)
returns 0.15729921.
erfc(1 + i)
returns -0.316151 - 0.190453i
erfcinv(erfc(.2))
returns 0.2 indicating that ERFC and ERFCINV are inverse functions.
erfc(-2..0.01..2);
xlabel("x");ylabel("erfc(x)");label("Complementary Error Function");
returns 401 samples of erfc(x).
The complementary error function is defined as:
ERFC is computed from the FADDEEVA function based on an algorithm developed by Steven G. Johnson. The Faddeeva function is defined as:
See ERFCX to compute the scaled complementary error function.