ERFC

Purpose:

Computes the complementary error function.

Syntax:

ERFC(val)

val

-

A scalar, series, or table.

Returns:

A scalar, series, or table.

Example:

erfc(1)

 

returns 0.15729921.

Example:

erfc(1 + i)

 

returns -0.316151 - 0.190453i

Example:

erfcinv(erfc(.2))

 

returns 0.2 indicating that ERFC and ERFCINV are inverse functions.

Example:

erfc(-2..0.01..2);

xlabel("x");ylabel("erfc(x)");label("Complementary Error Function");

 

returns 401 samples of erfc(x).

Remarks:

The complementary error function is defined as:

 

image\erfc01.gif

 

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.

See Also:

ERF

ERFCINV

ERFCX

ERFI

ERFINV

FADDEEVA