Complex Kelvin function of the second kind of a real argument.
Loading LOADSUB ALL FROM "KELVIN.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage REAL X,Y
Y=FNKei(X)
Description
FNKeireturns the value of the imaginary Kelvin function of the second kind of the valuex. Although kei(x) is defined for all values ofxexcept zero, values ofxnear zero may produce results greater than MAXREAL, the largest value representable. Note that sometimes Kelvin functions are written with an order, as in kei3(x). In this notation, the functionFNKeireturns the value of kei0(x).
Errors
FNKeicauses an HTBasic error if its argument is not of type REAL, ifxis negative or zero, or if the value returned would be larger than MAXREAL.