The EXPINT function returns the value of the exponential integral E n ( x ).
EXPINT is based on the routine
expint
described in section 6.3 of
Numerical Recipes in C: The Art of Scientific Computing
(Second Edition), published by Cambridge University Press, and is used by permission.
To compute the value of the exponential integral at the following X values:
X = [1.00, 1.05, 1.27, 1.34, 1.38, 1.50]
; Define the parametric X values.
result = EXPINT(1, X) ; Compute the exponential integral of order 1.
PRINT, result ; Print the result.