Complex complementary error function of a complex argument.
Loading LOADSUB ALL FROM "CERF.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage COMPLEX Z,C
C=FNCerfc(Z)
Description
FNCerfcreturns the value of the complementary error function of the complex valuez, erfc(z). The imaginary part of the value of erfc(z) approaches if the real part ofzis zero and the magnitude of the imaginary part ofzbecomes large.
Erfc(z) is related to the error function returned by theFNCerffunction, erf(z), by the expression
Errors
FNCerfccauses an HTBasic error if its argument is not of type COMPLEX or if the magnitude of erfc(z) exceeds MAXREAL, the largest number representable.