HTBasic Help
×
Menu
Index
Cw
Complex alternate error function of a complex argument.
 
Loading        LOADSUB ALL FROM "CERF.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                COMPLEX Z,C
C=FNCw(Z)
 
Description                
FNCw returns the value of the alternate error function of the complex value z, w(z). W(z) is defined by the relation
The value of w(z) approaches + if the real part of z is zero and the magnitude of the imaginary part of z becomes large in the negative direction.
 
The alternate error function is related to the complementary error function evaluated by the FNCerfc function by the expression
where i = -1.
 
Errors                
FNCw causes an HTBasic error if its argument is not of type COMPLEX or if the magnitude of w(z) exceeds MAXREAL, the largest number representable.
 
See Also
Cerf, Dawson, Erf